@mui/x-data-grid
Version:
The community edition of the data grid component (MUI X).
39 lines (32 loc) • 1.26 kB
JavaScript
/**
* Object passed as parameter in the row callbacks.
*/
/**
* Object passed as parameter in the row `getRowClassName` callback prop.
*/
/**
* Object passed as parameter in the row `getRowHeight` callback prop.
*/
/**
* The getRowHeight return value.
*/
var GridRowEditStartReasons;
/**
* Params passed to the `rowEditStart` event.
*/
(function (GridRowEditStartReasons) {
GridRowEditStartReasons["enterKeyDown"] = "enterKeyDown";
GridRowEditStartReasons["cellDoubleClick"] = "cellDoubleClick";
GridRowEditStartReasons["printableKeyDown"] = "printableKeyDown";
GridRowEditStartReasons["deleteKeyDown"] = "deleteKeyDown";
})(GridRowEditStartReasons || (GridRowEditStartReasons = {}));
var GridRowEditStopReasons;
(function (GridRowEditStopReasons) {
GridRowEditStopReasons["rowFocusOut"] = "rowFocusOut";
GridRowEditStopReasons["escapeKeyDown"] = "escapeKeyDown";
GridRowEditStopReasons["enterKeyDown"] = "enterKeyDown";
GridRowEditStopReasons["tabKeyDown"] = "tabKeyDown";
GridRowEditStopReasons["shiftTabKeyDown"] = "shiftTabKeyDown";
})(GridRowEditStopReasons || (GridRowEditStopReasons = {}));
// https://github.com/mui/mui-x/pull/3738#discussion_r798504277
export { GridRowEditStartReasons, GridRowEditStopReasons };