← DataGrid API

Type · v2.7.0

NgbDataLayoutMode

Tabular columns vs adaptive stacked cards (`stacked` in NgbTableOptions).

Import

import type { NgbDataLayoutMode } from '@angular-bootstrap/ngbootstrap';

Declaration

type NgbDataLayoutMode = 'tabular' | 'stacked';
Source: src/datagrid/src/datagrid/datagrid.component.ts in the installed @angular-bootstrap/ngbootstrap package. Angular compiler metadata and private members are omitted.

This project is not affiliated with ng-bootstrap or ngx-bootstrap. Those projects focus mainly on Bootstrap components for Angular. ngbootstrap focuses on Angular UI for data-heavy apps, especially Data Grid, Angular-native Form Builder, drag and drop workflows, documentation examples, and performance-focused Angular patterns.