rememberTableState
@Composable
Creates and remembers a TableState starting on initialSelectedRowIndices, initialSortKeys and initialColumnLayout.
A later change to any of the three neither recreates the state nor changes the table; change them afterwards through the returned state's TableState.selectedRowIndices, TableState.sortKeys and TableState.columnLayout.
Parameters
initialSelectedRowIndices
the rows selected until the caller or the user moves the selection.
initialSortKeys
the order the rows are sorted in until the caller or the user sorts them again.
initialColumnLayout
the layout the columns start in; null holds none, leaving them in their declared layout.