Infinite Table Row Details API

This API can be used when master-detail is configured in the DataGrid.
You can retrieve the row details api by reading it from the api.rowDetailApi property.
const onReady = ({api}: {api:InfiniteTableApi<DATA_TYPE>}) => {
  // do something with it
  api.rowDetailApi.collapseAllDetails()
}

<InfiniteTable<DATA_TYPE>
  columns={[...]}
  onReady={onReady}

See the Infinite Table API page for the main API. See the Infinite Table Cell Selection API page for the row selection API. See the Infinite Table Row Selection API page for the row selection API. See the Infinite Table Column API page for the column API.

collapseAllDetails

() => void

collapseRowDetail

(rowId: any) => void

expandAllDetails

() => void

expandRowDetail

(rowId: any)=> boolean

isRowDetailCollapsed

(rowId: any)=> boolean

isRowDetailExpanded

(rowId: any)=> boolean

toggleRowDetail

(rowId: any)=> boolean