Data Grid — Adaptive view
Data DisplayadaptiveView ): when the grid itself is narrower than adaptiveBreakpoint (480px), each row becomes a card of label and value pairs, with a sort select above the cards. Selection, detail rows, actions and inline editing work inside the cards. [adaptiveView]="false" keeps the table at every width; it then scrolls horizontally.
Examples
Adaptive view
The grid measures its own width, not the window. Both grids here sit in a 360px container: the first shows a card per row, and [adaptiveView]="false" keeps the table in the second, which scrolls horizontally. A grid at least as wide as adaptiveBreakpoint (480px) shows the table.
Cards
DefaultBelow 480px each row becomes a card, with a sort select above.
| SO-1001 | Northwind Traders | Bucharest | Shipped | €1,240.00 |
| SO-1002 | Contoso Ltd | Cluj-Napoca | Pending | €380.50 |
| SO-1003 | Fabrikam | Iași | Delivered | €2,199.00 |
Table
[adaptiveView]="false"Keeps the columns at every width and scrolls horizontally.
| SO-1001 | Northwind Traders | Bucharest | Shipped | €1,240.00 |
| SO-1002 | Contoso Ltd | Cluj-Napoca | Pending | €380.50 |
| SO-1003 | Fabrikam | Iași | Delivered | €2,199.00 |
| SO-1004 | Tailspin Toys | Timișoara | Cancelled | €75.00 |
| SO-1005 | Litware | Brașov | Shipped | €640.00 |
| SO-1006 | Adventure Works | Constanța | Pending | €1,510.25 |