Infinite Table Column API
When rendering the InfiniteTable
component, you can get access to the Column API through various column render props (for example, the columns.header
render prop).
For the root API see the API page. For API on row/group selection, see the Selection API page. See the Infinite Table Row Detail API page for the row detail API (when master-detail is configured).
clearSort
Clears the sorting for the current column.
clearSort
Clears the sorting for the current column.
getSortDir
Returns the sorting currently applied to the current column. Aliased to getSortingForColumn
.
hideContextMenu
Hides the column context menu, if visible.
isSortable
Returns whether the current column is sortable.
setSort
Sets the sort direction for the current column.
setSort
Sets the sorting for the current column. Aliased to setSortingForColumn
.
showContextMenu
Shows the column context menu, if not already visible.
toggleContextMenu
Toggles the column context menu.
toggleSort
Toggles the sorting for the current column. Aliased to toggleSortingForColumn
.