PlaygroundSubLevel
const config = {
subDataKey: 'account_List',
isSubLevels: true,
columns: [],
...
}
<VirtualTable
data={DATA}
config={config}
/>
Make sure selectableRowKey is unique. You can set default collapsed data using "isCollapsed" props in data.
Properties
Config prop
Name | Type | Required | Default | Description |
---|---|---|---|---|
subDataKey | string | No | "subData" | Key to access of arrya of sub data. |
isSubLevels | boolean | No | false | Set sub levels mode fot VT. |