Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
19 lines
486 B
TypeScript
19 lines
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;
|
|
}
|