API documentation for DataView component
Defines valid properties in DataView component.
Defines the methods and properties exposed by DataView component.
| name | type | default | description |
|---|---|---|---|
| sort | (value: unknown[], sortField: string, sortOrder: number) => unknown[] | null | Sorts the data based on the specified field and order. |
Defines passthrough(pt) options of DataView component.
| name | type | default | description |
|---|---|---|---|
| root | DataViewPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Instance of DataView component.
| values |
|---|
| ComponentInstance<DataViewProps, DataViewState, DataViewExposes> |
Defines the methods and properties exposed by useDataView.
| name | type | default | description |
|---|---|---|---|
| sort | (value: unknown[], sortField: string, sortOrder: number) => unknown[] | null | Sorts the data based on the specified field and order. |
Instance of useDataView headless.
| values |
|---|
| HeadlessInstance<useDataViewProps, useDataViewState, useDataViewExposes> |