OptionalouterProps?: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>Attributes to add to the outer <div> element that contains the <table>
OptionaltableProps?: Styles & React.ComponentProps<"table">Styles on the <table> element (the style and className on DataTableProps
itelf are applied to an outer scrollable <div> that contains the <table>.)
Optionaltheme?: TableTheme | string | nullyTheme for this table; overrides the ambient TableConfig theme.
Properties of a
DataTable. The only required properties arecolumnsandlist(ortree), which are defined in the base interfacesDataTableCorePropsandTreeListMainProps. If you are using a tree view, it is recommended to also providegetKey(from the base interfaceListCoreProps) to identify rows to React.