ods-component-lib 1.17.62 → 1.17.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1269,7 +1269,15 @@ function grid(props, dataGridRef) {
1269
1269
  onRowInserted: props.onRowInserted,
1270
1270
  onRowUpdated: props.onRowUpdated,
1271
1271
  onRowRemoved: props.onRowRemoved,
1272
+ onEditingStart: props.onEditingStart,
1273
+ onInitNewRow: props.onInitNewRow,
1274
+ onRowInserting: props.onRowInserting,
1275
+ onRowUpdating: props.onRowUpdating,
1276
+ onRowRemoving: props.onRowRemoving,
1272
1277
  onSaving: props.onSaving,
1278
+ onSaved: props.onSaved,
1279
+ onEditCanceling: props.onEditCanceling,
1280
+ onEditCanceled: props.onEditCanceled,
1273
1281
  allowColumnReordering: true,
1274
1282
  showRowLines: true,
1275
1283
  showBorders: true,
@@ -1277,7 +1285,6 @@ function grid(props, dataGridRef) {
1277
1285
  focusedRowEnabled: false,
1278
1286
  wordWrapEnabled: false,
1279
1287
  noDataText: "No Data",
1280
- onEditCanceling: props.onEditCanceling,
1281
1288
  onExporting: onExporting,
1282
1289
  height: window.innerHeight - 164,
1283
1290
  repaintChangesOnly: true,
@@ -1325,12 +1332,11 @@ function grid(props, dataGridRef) {
1325
1332
  })), props.selectEnable && React.createElement(Selection, {
1326
1333
  mode: "multiple",
1327
1334
  deferred: true
1328
- }), props.editEnable === true && React.createElement(Editing, {
1335
+ }), props.inlineEdit === true && React.createElement(Editing, {
1329
1336
  mode: props.edit.mode,
1330
1337
  allowUpdating: props.edit.allowUpdating,
1331
1338
  allowDeleting: props.edit.allowDeleting,
1332
- allowAdding: props.edit.allowAdding,
1333
- useIcons: true
1339
+ allowAdding: props.edit.allowAdding
1334
1340
  }), React.createElement(Scrolling, {
1335
1341
  mode: props.scroll.mode,
1336
1342
  showScrollbar: props.scroll.showScrollbar,
@@ -1388,7 +1394,7 @@ function grid(props, dataGridRef) {
1388
1394
  gap: "4px",
1389
1395
  alignSelf: "stretch"
1390
1396
  }
1391
- }, props.pageTitle)), React.createElement(Item, {
1397
+ }, props.pageTitle)), props.customEdit !== undefined && React.createElement(Item, {
1392
1398
  location: "before"
1393
1399
  }, React.createElement(OdsButton, {
1394
1400
  type: "primary",