Tree Grid api
NbTreeGridComponent
Inputs
| Name | Type | Description |
| equalColumnsWidth | boolean | Make all columns equal width. False by default. |
| nbTreeGrid | <T>[] | NbTreeGridDataSource | The table's data |
NbTreeGridPresentationNode
Properties
| Name | Type | Description |
| data | Data object associated with row | |
| expanded | boolean | Row expand state |
Methods
| Name | Description |
| hasChildren() | returns: booleanTrue if row has child rows |
NbTreeGridColumnDefDirective
Inputs
| Name | Type | Description |
| hideOn | Amount of pixels of viewport at which column should be hidden. type number | |
| nbTreeGridColumnDef | string | Column name |
| showOn | Amount of pixels of viewport at which column should be shown. type number |
NbTreeGridRowDefDirective
Inputs
| Name | Type | Description |
| nbTreeGridRowDefColumns | Iterable<string> | Columns to be displayed on this row |
NbTreeGridRowComponent
Inputs
| Name | Type | Description |
| clickToToggle | boolean | Toggle row on click. Enabled by default. |
| doubleClickDelay | number | Time to wait for second click to expand row deeply. 200ms by default. |
NbSortHeaderComponent
Inputs
| Name | Type | Description |
| nbSortHeader | NbSortDirection | Current sort direction. Possible values: |
| disabled | boolean | Disable sort header |
NbFilterInputDirective
Inputs
| Name | Type | Description |
| debounceTime | number | Debounce time before triggering filter method. Set in milliseconds. Default 200. |
Previous page
ThemeService
Next page
Need some help or found an issue?
Ask on Stack Overflow with tag `nebular` or post an issue on GitHub.
