@mui/x-data-grid
Version:
The Community plan edition of the Data Grid components (MUI X).
19 lines (18 loc) • 486 B
TypeScript
import { GridRowId, GridValidRowModel } from '../gridRows';
/**
* 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;
}