@kanunilabs/datagrid-react / InferColumnsOptions
Interface: InferColumnsOptions
Properties
defaults?
optionaldefaults?:Partial<GridColumnDef<GridRowData>>
Applied to every produced column, before field/headerName.
exclude?
optionalexclude?: readonlystring[]
Never produce a column for these fields (an internal id, a big blob).
humanizeHeaders?
optionalhumanizeHeaders?:boolean
Turn unitPrice into Unit price. Default true — a header of unitPrice
is the giveaway that nobody looked at the screen.
include?
optionalinclude?: readonlystring[]
Only these fields, in this order. Everything else is skipped.
sampleSize?
optionalsampleSize?:number
Rows to look at. Default 50.