39 lines
1.2 KiB
JavaScript
39 lines
1.2 KiB
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 }; |