projects/apttus/elements/src/lib/data/table/table.interface.ts
Type used to describe the configuration options for the table component.
Properties |
|
Methods |
|
| Optional selectItemsInGroupFunc | ||||||
selectItemsInGroupFunc(recordData: Array
|
||||||
|
Function that preselect items in group.
Parameters :
Returns :
void
|
| actions |
actions:
|
Type : Array<TableAction>
|
| Optional |
|
Array of TableAction type to describe actions on the table. |
| childRecordOptions |
childRecordOptions:
|
Type : ChildRecordOptions
|
| Optional |
|
Options for showing child records. |
| children |
children:
|
Type : Array<string>
|
| Optional |
|
Array of child properties to query with the data |
| columns |
columns:
|
Type : Array<TableColumn>
|
| Optional |
|
Array of TableColumn type to define the columns. |
| defaultSort |
defaultSort:
|
Type : SortInfo
|
| Optional |
|
Default order the table should be sorted by. |
| disableLink |
disableLink:
|
Type : boolean
|
| Optional |
|
Flag to disable link for Name column |
| fields |
fields:
|
Type : Array<string>
|
| Optional |
|
Array of additional fields to be queried with the data |
| filters |
filters:
|
Type : Array<AFilter>
|
| Optional |
|
Array of AFilters to apply to the table. |
| groupBy |
groupBy:
|
Type : string
|
| Optional |
|
Field to group rows by. |
| limit |
limit:
|
Type : number
|
| Optional |
|
Number of rows to limit the table to. |
| lookups |
lookups:
|
Type : Array<object>
|
| Optional |
|
Array of lookup fields. |
| stickyColumnCount |
stickyColumnCount:
|
Type : number
|
| Optional |
|
Number of columns that should be sticky. |