applyStyle? | (value, row) => CSSProperties | Function to compute custom style per cell based on its value and row. |
decimals? | number | Number of decimal places (only for float type). |
defaultValue? | any | Default value to apply for new rows or blank inputs. |
fieldName | string | Unique identifier for the field (must match keys in data rows). |
locked? | boolean | Locks the entire column from edits. |
multiline? | boolean | If true, allows multiline text input. |
name | string | Human-readable column label. |
onRenderControl? | (props) => ReactElement | Optional custom renderer for the input control. |
onRenderValue? | (value) => unknown | Optional formatter function for display-only rendering. |
options? | IDropdownOption<any>[] | Options for dropdown fields (type: 'option'). |
readOnly? | boolean | Marks the column as read-only. |
required? | boolean | Marks the field as required for validation. |
type | "boolean" | "option" | "text" | "float" | "date" | "integer" | Data type for the column (determines rendering and validation). |
validate? | (value, row) => string | Optional validation function, returning an error message or undefined. |
width? | string | number | Optional fixed width (e.g., "150px" or 150). |