mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 10:18:42 +00:00
@@ -179,6 +179,7 @@ export type RowViewProps = RowAction & RowModelProps;
|
||||
* @param onRowClick : (record: any, index: number, event: any) => void - Callback function when a row is clicked
|
||||
* @param onCellClick : (event: any, record: any, index: number, column: any, columnIndex: number) => void - Callback function when a cell is clicked
|
||||
* @param modelType: ModelType - The model type for the table
|
||||
* @param height: string | number - Height of the table (default = 'auto')
|
||||
* @param minHeight: number - Minimum height of the table (default 300px)
|
||||
* @param noHeader: boolean - Hide the table header
|
||||
*/
|
||||
@@ -212,6 +213,7 @@ export type InvenTreeTableProps<T = any> = {
|
||||
rowStyle?: (record: T, index: number) => MantineStyleProp | undefined;
|
||||
modelField?: string;
|
||||
onCellContextMenu?: (record: T, event: any) => void;
|
||||
height?: string | number;
|
||||
minHeight?: number;
|
||||
noHeader?: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user