SimpleTableDataProvider Class

Beta  

A Table Data Provider using an array of items.

Implements

Methods

Name Description
constructor(columns: ColumnDescription[]): SimpleTableDataProvider    
addRow(rowItem: RowItem): number    
deleteRow(rowItem: RowItem, raiseRowsChangedEvent: boolean = true): void    
getColumns(): Promise<ColumnDescription[]>    
getRow(rowIndex: number, unfiltered?: false | true): Promise<RowItem>    
getRowsCount(): Promise<number>    
insertRow(rowItem: RowItem, index: number): number    
moveRow(rowItem: RowItem, newIndex: number): number    
setItems(items: RowItem[]): void    
sort(columnIndex: number, sortDirection: SortDirection): Promise<void>    

Properties

Name Type Description
onColumnsChanged TableDataChangeEvent    
onRowsChanged TableDataChangeEvent    

Defined in

Last Updated: 13 June, 2024