TableRowBasicProps
Definition
export interface TableRowBasicProps {
/** Column definitions with calculated widths */
columns: { [id: string]: ExtendedColumn };
/** Custom cell renderer function */
renderCell?: (row: RowData, column: ExtendedColumn) => React.ReactNode;
/** Callback when a row is clicked */
onClickRow?: (e: React.MouseEvent<HTMLDivElement>, row: RowData) => void;
/** Function to determine if a row is selected */
isRowSelected?: (row: RowData) => boolean;
/** Callback when a row is selected */
onSelectRow?: (row: RowData) => void;
/** Custom renderer for child rows */
renderChildRows?: (childRows: RowData[], rowProps: TableRowBasicProps) => React.ReactNode;
/** Enable editable mode with callbacks */
editable?: EditableRowConfig;
/** Enable drag and drop sorting */
sortable?: boolean;
/** Unique ID for drag and drop */
dragId?: string;
}Usage
Related Types
Last updated