Files
simply_cpq/website/node_modules/@mui/x-data-grid/models/params/gridValueOptionsParams.d.mts
T
2026-08-07 21:39:30 +02:00

18 lines
470 B
TypeScript

import type { GridRowId, GridValidRowModel } from "../gridRows.mjs";
/**
* Object passed as parameter of the valueOptions function for singleSelect column.
*/
export interface GridValueOptionsParams<R extends GridValidRowModel = any> {
/**
* The field of the column to which options will be provided
*/
field: string;
/**
* The grid row id.
*/
id?: GridRowId;
/**
* The row model of the row that the current cell belongs to.
*/
row?: R;
}