react-data-grid-temp
Advanced tools
Comparing version 7.0.0-canary.22.1 to 7.0.0-canary.22.2
@@ -34,3 +34,3 @@ import React from 'react'; | ||
*/ | ||
onRowsUpdate?: <E extends RowsUpdateEvent>(event: E) => void; | ||
onRowsUpdate?: <E extends RowsUpdateEvent>(event: E) => Promise<boolean>; | ||
onRowsChange?: (rows: R[]) => void; | ||
@@ -37,0 +37,0 @@ /** |
@@ -325,4 +325,7 @@ var __assign = (this && this.__assign) || function () { | ||
action: UpdateActions.CELL_UPDATE | ||
}).then(function (result) { | ||
if (result !== false) { | ||
closeEditor(); | ||
} | ||
}); | ||
closeEditor(); | ||
} | ||
@@ -329,0 +332,0 @@ function commitEditor2Changes() { |
@@ -25,4 +25,7 @@ var __assign = (this && this.__assign) || function () { | ||
array[currentIndex] = swap; | ||
currentIndex = nextIndex; | ||
} | ||
currentIndex = nextIndex; | ||
else { | ||
break; | ||
} | ||
} | ||
@@ -29,0 +32,0 @@ } |
{ | ||
"name": "react-data-grid-temp", | ||
"version": "7.0.0-canary.22.1", | ||
"version": "7.0.0-canary.22.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Excel-like grid component built with React, with editors, keyboard navigation, copy & paste, and the like", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
437130
3826