API Reference > ui-components > Table > TableDataProvider TableDataProvider Interface TableDataProvider provides data to the Table. It also provides support for data Sorting & Filtering. Methods Name Description applyFilterDescriptors(filterDescriptors: CompositeFilterDescriptorCollection): Promise<void> Optional Apply a filter descriptor collection getColumns(): Promise<ColumnDescription[]> Retrieves the column descriptions getDistinctValues(columnKey: string, maximumValueCount?: number): Promise<DistinctValueCollection> Optional Gets distinct values in a column getPropertyDisplayValueExpression(property: string): string Optional Gets property display value expression getRow(rowIndex: number, unfiltered?: boolean): Promise<RowItem> Retrieves a specific row by index getRowsCount(): Promise<number> Retrieves the row count sort(columnIndex: number, sortDirection: SortDirection): Promise<void> Sorts the rows based on the value in a specific column Properties Name Type Description onColumnsChanged TableDataChangeEvent Event emitted by the data provider when column data changes onRowsChanged TableDataChangeEvent Event emitted by the data provider when row data changes Defined in ui/components/src/ui-components/table/TableDataProvider.ts Line 139 Last Updated: 12 June, 2024