mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Added two missing props sortColumn and sortDirection (#27197)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
dfe05a96d6
commit
b9edcc9c51
Vendored
+11
@@ -130,6 +130,17 @@ declare namespace AdazzleReactDataGrid {
|
||||
* @param sortDirection The direction to sort ('ASC'/'DESC'/'NONE')
|
||||
*/
|
||||
onGridSort?: (sortColumn: string, sortDirection: 'ASC' | 'DESC' | 'NONE') => void
|
||||
|
||||
/**
|
||||
* Initial sorting direction
|
||||
*/
|
||||
sortDirection?: 'ASC' | 'DESC' | 'NONE'
|
||||
|
||||
/**
|
||||
* key of the initial sorted column
|
||||
*/
|
||||
sortColumn?: string
|
||||
|
||||
/**
|
||||
* Called when the user filters a column by some value.
|
||||
* Should restrict the rows in rowGetter to only things that match the filter.
|
||||
|
||||
Reference in New Issue
Block a user