TableOptions
Generic types: | T |
Options to configure some of the table behavior. The default value is in
.
Properties
Name | Type | Description |
---|---|---|
autoHeight | boolean | Default is false. The table will take its container vertical space. Vertical scrollbar is visible when needed. If true, the table will display all rows thus the height is adjusted automatically and the vertical scollbar won't be visible. |
calculateColumWidthDelay | number | Delay in milliseconds to calculate the width of table columns. Default value is 500. If |
footer |
| Table footer component/template |
rowOptions |
| Options related to table row. |
stateKey | string | undefined | Key to save and restore the state of the columns to localstorage. It should be unique app-wide |
virtualScroll | boolean | Enable virtual scroll for handling huge data. Default is false. If it is true, the |
virtualScrollRowHeight | number | The height for row. It is used to calculate the virtual scroll viewport height. By default the value is 32 following the default NgxPanemuTable style. If you customize the row height css style, ensure to set the correct value for this property. |