@wavemaker/app-ng-runtime 11.14.1-8.6337 → 11.14.1-9.6343
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.
- package/components/base/bundles/index.umd.js +8 -77
- package/components/base/esm2022/pipes/custom-pipes.mjs +1 -1
- package/components/base/esm2022/widgets/common/base/base.component.mjs +7 -67
- package/components/base/esm2022/widgets/common/lazy-load/lazy-load.directive.mjs +3 -7
- package/components/base/esm2022/widgets/framework/property-change-handler.mjs +2 -7
- package/components/base/fesm2022/index.mjs +9 -78
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/basic/label/bundles/index.umd.js +1 -9
- package/components/basic/label/esm2022/label.directive.mjs +2 -10
- package/components/basic/label/fesm2022/index.mjs +1 -9
- package/components/basic/label/fesm2022/index.mjs.map +1 -1
- package/components/data/pagination/bundles/index.umd.js +0 -4
- package/components/data/pagination/esm2022/pagination.component.mjs +1 -5
- package/components/data/pagination/fesm2022/index.mjs +0 -4
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +12 -219
- package/components/data/table/esm2022/table-cud.directive.mjs +2 -2
- package/components/data/table/esm2022/table.component.mjs +12 -219
- package/components/data/table/fesm2022/index.mjs +12 -219
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/data/table/table.component.d.ts +2 -6
- package/components/navigation/menu/bundles/index.umd.js +0 -5
- package/components/navigation/menu/esm2022/menu.component.mjs +1 -6
- package/components/navigation/menu/fesm2022/index.mjs +0 -5
- package/components/navigation/menu/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/bundles/index.umd.js +6 -6
- package/components/navigation/popover/esm2022/popover.component.mjs +4 -4
- package/components/navigation/popover/fesm2022/index.mjs +3 -3
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/popover.component.d.ts +0 -6
- package/core/bundles/index.umd.js +82 -395
- package/core/esm2022/public_api.mjs +2 -2
- package/core/esm2022/utils/watcher.mjs +81 -392
- package/core/fesm2022/index.mjs +84 -395
- package/core/fesm2022/index.mjs.map +1 -1
- package/core/public_api.d.ts +1 -1
- package/core/utils/watcher.d.ts +5 -28
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/runtime/base/bundles/index.umd.js +0 -20
- package/runtime/base/esm2022/components/app-component/app.component.mjs +2 -4
- package/runtime/base/esm2022/components/base-page.component.mjs +2 -6
- package/runtime/base/esm2022/components/base-partial.component.mjs +2 -7
- package/runtime/base/esm2022/components/base-prefab.component.mjs +2 -7
- package/runtime/base/esm2022/components/base-spa-page.component.mjs +2 -6
- package/runtime/base/fesm2022/index.mjs +1 -21
- package/runtime/base/fesm2022/index.mjs.map +1 -1
- package/scripts/datatable/datatable.js +2 -34
|
@@ -176,15 +176,8 @@ class TableComponent extends StylableComponent {
|
|
|
176
176
|
this.setDataGridOption('colDefs', getClonedObject(this.fieldDefs));
|
|
177
177
|
}
|
|
178
178
|
// If data and colDefs are present, call on before data render event
|
|
179
|
-
// Note: Errors in beforedatarender should not prevent table rendering
|
|
180
179
|
if (!this.isdynamictable && !isEmpty(newValue) && gridOptions.colDefs.length) {
|
|
181
|
-
|
|
182
|
-
this.invokeEventCallback('beforedatarender', { $data: this._gridData, $columns: this.columns, data: this._gridData, columns: this.columns });
|
|
183
|
-
}
|
|
184
|
-
catch (error) {
|
|
185
|
-
// Log error but continue with rendering - beforedatarender errors should not block table rendering
|
|
186
|
-
console.warn('Error in beforedatarender event callback, continuing with table rendering:', error);
|
|
187
|
-
}
|
|
180
|
+
this.invokeEventCallback('beforedatarender', { $data: this._gridData, $columns: this.columns, data: this._gridData, columns: this.columns });
|
|
188
181
|
}
|
|
189
182
|
this.setDataGridOption('data', getClonedObject(this._gridData));
|
|
190
183
|
}
|
|
@@ -577,7 +570,7 @@ class TableComponent extends StylableComponent {
|
|
|
577
570
|
this.prevData = getClonedObject(row);
|
|
578
571
|
},
|
|
579
572
|
afterRowUpdate: (row, e, callBack, options) => {
|
|
580
|
-
this.updateRecord(extend({}, options, { row, 'prevData':
|
|
573
|
+
this.updateRecord(extend({}, options, { row, 'prevData': this.prevData, 'event': e, 'callBack': callBack }));
|
|
581
574
|
},
|
|
582
575
|
onBeforeRowUpdate: (row, e, options) => {
|
|
583
576
|
return this.invokeEventCallback('beforerowupdate', { $event: e, $data: row, row, options: options });
|
|
@@ -1231,10 +1224,6 @@ class TableComponent extends StylableComponent {
|
|
|
1231
1224
|
return this.actualPageSize || 5;
|
|
1232
1225
|
}
|
|
1233
1226
|
watchVariableDataSet(newVal) {
|
|
1234
|
-
// Guard against component destruction
|
|
1235
|
-
if (this.isDestroyed) {
|
|
1236
|
-
return;
|
|
1237
|
-
}
|
|
1238
1227
|
let result;
|
|
1239
1228
|
// Check for Variable filters if applied
|
|
1240
1229
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
@@ -1292,12 +1281,6 @@ class TableComponent extends StylableComponent {
|
|
|
1292
1281
|
}
|
|
1293
1282
|
/*Return if data is invalid.*/
|
|
1294
1283
|
if (!this.isDataValid()) {
|
|
1295
|
-
// If data is invalid and variableInflight is still true, clear loading state
|
|
1296
|
-
// This prevents tables from getting stuck in loading when data is invalid
|
|
1297
|
-
if (this.variableInflight) {
|
|
1298
|
-
this.variableInflight = false;
|
|
1299
|
-
this.setGridData([]);
|
|
1300
|
-
}
|
|
1301
1284
|
return;
|
|
1302
1285
|
}
|
|
1303
1286
|
// If value is empty or in studio mode, dont enable the navigation
|
|
@@ -1325,13 +1308,7 @@ class TableComponent extends StylableComponent {
|
|
|
1325
1308
|
// @ts-ignore
|
|
1326
1309
|
if (!isObject(newVal) || newVal === '' || (newVal && newVal.dataValue === '')) {
|
|
1327
1310
|
if (!this.variableInflight) {
|
|
1328
|
-
// If variable has finished loading and resultSet is empty,
|
|
1329
|
-
this.setGridData([]);
|
|
1330
|
-
}
|
|
1331
|
-
else {
|
|
1332
|
-
// If variableInflight is still true but we have invalid/empty data, clear loading state
|
|
1333
|
-
// This handles cases where data never arrives or is invalid
|
|
1334
|
-
this.variableInflight = false;
|
|
1311
|
+
// If variable has finished loading and resultSet is empty, ender empty data
|
|
1335
1312
|
this.setGridData([]);
|
|
1336
1313
|
}
|
|
1337
1314
|
return;
|
|
@@ -1341,143 +1318,13 @@ class TableComponent extends StylableComponent {
|
|
|
1341
1318
|
}
|
|
1342
1319
|
}
|
|
1343
1320
|
ngOnDestroy() {
|
|
1344
|
-
// MEMORY LEAK FIX: Remove document click listener
|
|
1345
1321
|
document.removeEventListener('click', this.documentClickBind);
|
|
1346
|
-
// MEMORY LEAK FIX: Unsubscribe from navigator watches
|
|
1347
1322
|
if (this.navigatorResultWatch) {
|
|
1348
1323
|
this.navigatorResultWatch.unsubscribe();
|
|
1349
|
-
this.navigatorResultWatch = null;
|
|
1350
1324
|
}
|
|
1351
1325
|
if (this.navigatorMaxResultWatch) {
|
|
1352
1326
|
this.navigatorMaxResultWatch.unsubscribe();
|
|
1353
|
-
this.navigatorMaxResultWatch = null;
|
|
1354
|
-
}
|
|
1355
|
-
// MEMORY LEAK FIX: Clear all ViewContainerRef embedded views
|
|
1356
|
-
// These hold references to row data, custom expressions, and inline widgets
|
|
1357
|
-
if (this.customExprViewRef) {
|
|
1358
|
-
this.customExprViewRef.clear();
|
|
1359
|
-
}
|
|
1360
|
-
if (this.rowActionsViewRef) {
|
|
1361
|
-
this.rowActionsViewRef.clear();
|
|
1362
|
-
}
|
|
1363
|
-
if (this.filterViewRef) {
|
|
1364
|
-
this.filterViewRef.clear();
|
|
1365
|
-
}
|
|
1366
|
-
if (this.inlineEditViewRef) {
|
|
1367
|
-
this.inlineEditViewRef.clear();
|
|
1368
|
-
}
|
|
1369
|
-
if (this.inlineEditNewViewRef) {
|
|
1370
|
-
this.inlineEditNewViewRef.clear();
|
|
1371
|
-
}
|
|
1372
|
-
if (this.rowDetailViewRef) {
|
|
1373
|
-
this.rowDetailViewRef.clear();
|
|
1374
|
-
}
|
|
1375
|
-
if (this.rowExpansionActionViewRef) {
|
|
1376
|
-
this.rowExpansionActionViewRef.clear();
|
|
1377
|
-
}
|
|
1378
|
-
if (this.dynamicTableRef) {
|
|
1379
|
-
this.dynamicTableRef.clear();
|
|
1380
|
-
}
|
|
1381
|
-
// MEMORY LEAK FIX: Clear compiled template caches
|
|
1382
|
-
this.rowActionsCompiledTl = {};
|
|
1383
|
-
this.rowFilterCompliedTl = {};
|
|
1384
|
-
this.inlineCompliedTl = {};
|
|
1385
|
-
this.inlineNewCompliedTl = {};
|
|
1386
|
-
this.customExprCompiledTl = {};
|
|
1387
|
-
this.customExprCompiledSummaryTl = {};
|
|
1388
|
-
this.rowDefInstances = {};
|
|
1389
|
-
this.rowDefMap = {};
|
|
1390
|
-
this.rowExpansionActionTl = {};
|
|
1391
|
-
// MEMORY LEAK FIX: Clear dynamic context
|
|
1392
|
-
if (this._dynamicContext) {
|
|
1393
|
-
Object.keys(this._dynamicContext).forEach(key => {
|
|
1394
|
-
delete this._dynamicContext[key];
|
|
1395
|
-
});
|
|
1396
|
-
this._dynamicContext = null;
|
|
1397
|
-
}
|
|
1398
|
-
// MEMORY LEAK FIX: Clear data arrays
|
|
1399
|
-
this._gridData = [];
|
|
1400
|
-
this.items = [];
|
|
1401
|
-
this.selectedItems = [];
|
|
1402
|
-
this.fieldDefs = [];
|
|
1403
|
-
this.fullFieldDefs = [];
|
|
1404
|
-
this.gridData = [];
|
|
1405
|
-
this.__fullData = null;
|
|
1406
|
-
// MEMORY LEAK FIX: Destroy jQuery datatable widget before clearing gridOptions
|
|
1407
|
-
if (this.datagridElement && this.datagridElement.datatable) {
|
|
1408
|
-
try {
|
|
1409
|
-
this.datagridElement.datatable('destroy');
|
|
1410
|
-
}
|
|
1411
|
-
catch (e) {
|
|
1412
|
-
// Ignore errors during destroy
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
// MEMORY LEAK FIX: Clear gridOptions to release all function closures and data
|
|
1416
|
-
// gridOptions holds many closures that capture 'this' and prevent GC
|
|
1417
|
-
if (this.gridOptions) {
|
|
1418
|
-
// Clear data array
|
|
1419
|
-
if (this.gridOptions.data) {
|
|
1420
|
-
this.gridOptions.data = [];
|
|
1421
|
-
}
|
|
1422
|
-
// Clear column definitions
|
|
1423
|
-
if (this.gridOptions.colDefs) {
|
|
1424
|
-
this.gridOptions.colDefs = [];
|
|
1425
|
-
}
|
|
1426
|
-
// Clear row actions
|
|
1427
|
-
if (this.gridOptions.rowActions) {
|
|
1428
|
-
this.gridOptions.rowActions = [];
|
|
1429
|
-
}
|
|
1430
|
-
// Clear header config
|
|
1431
|
-
if (this.gridOptions.headerConfig) {
|
|
1432
|
-
this.gridOptions.headerConfig = [];
|
|
1433
|
-
}
|
|
1434
|
-
// Nullify all function references to break closures
|
|
1435
|
-
Object.keys(this.gridOptions).forEach(key => {
|
|
1436
|
-
if (typeof this.gridOptions[key] === 'function') {
|
|
1437
|
-
this.gridOptions[key] = null;
|
|
1438
|
-
}
|
|
1439
|
-
});
|
|
1440
|
-
}
|
|
1441
|
-
// MEMORY LEAK FIX: Clear other data structures
|
|
1442
|
-
this.columns = {};
|
|
1443
|
-
this.formfields = {};
|
|
1444
|
-
this.rowFilter = {};
|
|
1445
|
-
this.actions = [];
|
|
1446
|
-
this._actions = { header: [], footer: [] };
|
|
1447
|
-
this.exportOptions = [];
|
|
1448
|
-
this.headerConfig = [];
|
|
1449
|
-
this.rowActions = [];
|
|
1450
|
-
// MEMORY LEAK FIX: Clear all @ContentChildren QueryLists holding template references
|
|
1451
|
-
// These QueryLists hold TemplateRef instances that create circular references to the parent LView
|
|
1452
|
-
if (this.rowActionTmpl) {
|
|
1453
|
-
this.rowActionTmpl.reset([]);
|
|
1454
|
-
}
|
|
1455
|
-
if (this.filterTmpl) {
|
|
1456
|
-
this.filterTmpl.reset([]);
|
|
1457
|
-
}
|
|
1458
|
-
if (this.inlineWidgetTmpl) {
|
|
1459
|
-
this.inlineWidgetTmpl.reset([]);
|
|
1460
|
-
}
|
|
1461
|
-
if (this.inlineWidgetNewTmpl) {
|
|
1462
|
-
this.inlineWidgetNewTmpl.reset([]);
|
|
1463
1327
|
}
|
|
1464
|
-
if (this.customExprTmpl) {
|
|
1465
|
-
this.customExprTmpl.reset([]);
|
|
1466
|
-
}
|
|
1467
|
-
if (this.rowExpansionActionTmpl) {
|
|
1468
|
-
this.rowExpansionActionTmpl.reset([]);
|
|
1469
|
-
}
|
|
1470
|
-
// MEMORY LEAK FIX: Clear @ContentChild template reference
|
|
1471
|
-
this.rowExpansionTmpl = null;
|
|
1472
|
-
// MEMORY LEAK FIX: Complete and clear subjects
|
|
1473
|
-
if (this.selectedItemChange) {
|
|
1474
|
-
this.selectedItemChange.complete();
|
|
1475
|
-
this.selectedItemChange = null;
|
|
1476
|
-
}
|
|
1477
|
-
// MEMORY LEAK FIX: Clear ViewChild references
|
|
1478
|
-
this.dataNavigator = null;
|
|
1479
|
-
this._tableElement = null;
|
|
1480
|
-
// console.log("table component destroyed");
|
|
1481
1328
|
super.ngOnDestroy();
|
|
1482
1329
|
}
|
|
1483
1330
|
addRowIndex(row) {
|
|
@@ -1548,9 +1395,6 @@ class TableComponent extends StylableComponent {
|
|
|
1548
1395
|
if (!key.endsWith('_filter') && ((key.endsWith('_new') && newRow) || (!key.endsWith('_new') && !newRow))) {
|
|
1549
1396
|
ctrls[key].setValue('');
|
|
1550
1397
|
this.resetFormControl(ctrls[key]);
|
|
1551
|
-
// MEMORY LEAK FIX: Clear validators to release references
|
|
1552
|
-
ctrls[key].clearValidators();
|
|
1553
|
-
ctrls[key].clearAsyncValidators();
|
|
1554
1398
|
}
|
|
1555
1399
|
});
|
|
1556
1400
|
}
|
|
@@ -1870,14 +1714,7 @@ class TableComponent extends StylableComponent {
|
|
|
1870
1714
|
defaultFieldDefs.forEach(col => {
|
|
1871
1715
|
this.columns[col.field] = col;
|
|
1872
1716
|
});
|
|
1873
|
-
|
|
1874
|
-
try {
|
|
1875
|
-
this.invokeEventCallback('beforedatarender', { $data: data, $columns: this.columns, data: data, columns: this.columns });
|
|
1876
|
-
}
|
|
1877
|
-
catch (error) {
|
|
1878
|
-
// Log error but continue with rendering - beforedatarender errors should not block table rendering
|
|
1879
|
-
console.warn('Error in beforedatarender event callback, continuing with table rendering:', error);
|
|
1880
|
-
}
|
|
1717
|
+
this.invokeEventCallback('beforedatarender', { $data: data, $columns: this.columns, data: data, columns: this.columns });
|
|
1881
1718
|
defaultFieldDefs = [];
|
|
1882
1719
|
// Apply the changes made by the user
|
|
1883
1720
|
forEach(this.columns, val => {
|
|
@@ -1916,30 +1753,23 @@ class TableComponent extends StylableComponent {
|
|
|
1916
1753
|
return sortExp || '';
|
|
1917
1754
|
}
|
|
1918
1755
|
onPropertyChange(key, nv, ov) {
|
|
1919
|
-
// Guard against property changes after component destruction
|
|
1920
|
-
if (this.isDestroyed) {
|
|
1921
|
-
return;
|
|
1922
|
-
}
|
|
1923
1756
|
let enableNewRow, widgetState;
|
|
1924
1757
|
switch (key) {
|
|
1925
1758
|
case 'datasource':
|
|
1926
1759
|
// Fix for [WMS-23653] when startUpdate is false (request on page load property is unchecked),
|
|
1927
1760
|
// then set status msg as "No data found"
|
|
1928
|
-
if (this.allowpagesizechange
|
|
1761
|
+
if (this.allowpagesizechange) {
|
|
1929
1762
|
this.datasource.maxResults = this.pagesize || this.datasource.maxResults;
|
|
1930
1763
|
}
|
|
1931
|
-
if (nv
|
|
1764
|
+
if (nv.startUpdate === false) {
|
|
1932
1765
|
this.variableInflight = false;
|
|
1933
1766
|
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
1934
1767
|
}
|
|
1935
|
-
if (
|
|
1768
|
+
if (get(this.datasource, 'category') !== 'wm.Variable') {
|
|
1936
1769
|
this.headerselectall = false;
|
|
1937
1770
|
this.setDataGridOption("headerselectall", false);
|
|
1938
1771
|
}
|
|
1939
|
-
|
|
1940
|
-
if (this.datasource && this.dataset !== undefined) {
|
|
1941
|
-
this.watchVariableDataSet(this.dataset);
|
|
1942
|
-
}
|
|
1772
|
+
this.watchVariableDataSet(this.dataset);
|
|
1943
1773
|
this.onDataSourceChange();
|
|
1944
1774
|
break;
|
|
1945
1775
|
case 'dataset':
|
|
@@ -1947,12 +1777,6 @@ class TableComponent extends StylableComponent {
|
|
|
1947
1777
|
this.gridOptions.setIsNextPageData(false);
|
|
1948
1778
|
}
|
|
1949
1779
|
if (this.binddatasource && !this.datasource) {
|
|
1950
|
-
// If datasource is not set yet, clear loading state and show no data
|
|
1951
|
-
// This prevents tables from being stuck in loading state
|
|
1952
|
-
if (this.variableInflight) {
|
|
1953
|
-
this.variableInflight = false;
|
|
1954
|
-
this.callDataGridMethod('setStatus', 'nodata', this.nodatamessage);
|
|
1955
|
-
}
|
|
1956
1780
|
return;
|
|
1957
1781
|
}
|
|
1958
1782
|
// if table is inside list then table dataset will be set as "item.XXX" and there is no datasource.
|
|
@@ -2056,11 +1880,9 @@ class TableComponent extends StylableComponent {
|
|
|
2056
1880
|
this.allowpagesizechange = nv;
|
|
2057
1881
|
break;
|
|
2058
1882
|
case 'pagesizeoptions':
|
|
2059
|
-
this.
|
|
2060
|
-
this.
|
|
2061
|
-
this.
|
|
2062
|
-
if (this.allowpagesizechange)
|
|
2063
|
-
this.setDefaultPageSize(nv);
|
|
1883
|
+
this.gridOptions.pagesizeoptions = nv;
|
|
1884
|
+
this.pagesizeoptions = nv;
|
|
1885
|
+
this.setDefaultPageSize(nv);
|
|
2064
1886
|
break;
|
|
2065
1887
|
case 'multiselecttitle':
|
|
2066
1888
|
this.setDataGridOption('multiselecttitle', nv);
|
|
@@ -2104,41 +1926,12 @@ class TableComponent extends StylableComponent {
|
|
|
2104
1926
|
this.pagesize = nv;
|
|
2105
1927
|
}
|
|
2106
1928
|
this.updatedPageSize = nv;
|
|
2107
|
-
if (this.isPageSizeOptionsChanged()) {
|
|
2108
|
-
this.dataNavigator.defaultPageSizeOptions = this.pagesizeoptions?.split(',').map(Number).sort((a, b) => a - b) || [];
|
|
2109
|
-
this.dataNavigator.pageSizeOptions = [...this.dataNavigator.defaultPageSizeOptions];
|
|
2110
|
-
}
|
|
2111
1929
|
}
|
|
2112
1930
|
this.dataNavigator.options = {
|
|
2113
1931
|
maxResults: nv
|
|
2114
1932
|
};
|
|
2115
1933
|
this.dataNavigator.widget.maxResults = nv;
|
|
2116
1934
|
this.dataNavigator.maxResults = nv;
|
|
2117
|
-
if (this.datasource) {
|
|
2118
|
-
this.datasource.maxResults = this.pagesize || this.datasource.maxResults;
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
isPageSizeOptionsChanged() {
|
|
2122
|
-
return !isEqual(this.prevPagesizeoptions, this.pagesizeoptions);
|
|
2123
|
-
}
|
|
2124
|
-
selectPageSize(pagesize) {
|
|
2125
|
-
if (!this.allowpagesizechange && !pagesize)
|
|
2126
|
-
return;
|
|
2127
|
-
if (pagesize < this.dataNavigator.pageSizeOptions[0] || pagesize > this.dataNavigator.pageSizeOptions[this.dataNavigator.pageSizeOptions.length - 1]
|
|
2128
|
-
|| !this.dataNavigator.pageSizeOptions.includes(Number(pagesize))) {
|
|
2129
|
-
pagesize = this.dataNavigator.pageSizeOptions[0];
|
|
2130
|
-
}
|
|
2131
|
-
this.dataNavigator.onPageSizeChange(undefined, pagesize);
|
|
2132
|
-
}
|
|
2133
|
-
sanitizeCommaSeparatedIntegers(input) {
|
|
2134
|
-
if (!input)
|
|
2135
|
-
return "";
|
|
2136
|
-
const uniqueNumbers = Array.from(new Set(input
|
|
2137
|
-
.split(",")
|
|
2138
|
-
.map(v => v.trim())
|
|
2139
|
-
.filter(v => /^-?\d+$/.test(v))
|
|
2140
|
-
.map(v => Math.abs(parseInt(v, 10)))));
|
|
2141
|
-
return uniqueNumbers.join(",");
|
|
2142
1935
|
}
|
|
2143
1936
|
onDataSourceChange() {
|
|
2144
1937
|
this.fieldDefs.forEach(col => {
|
|
@@ -2664,7 +2457,7 @@ class TableCUDDirective {
|
|
|
2664
2457
|
this.updateVariable(response, options.callBack);
|
|
2665
2458
|
}
|
|
2666
2459
|
else if (!this.table.datasource.execute(DataSource.Operation.IS_API_AWARE)) {
|
|
2667
|
-
this.table.initiateSelectItem('current', response, undefined,
|
|
2460
|
+
this.table.initiateSelectItem('current', response, undefined, false, options.callBack);
|
|
2668
2461
|
}
|
|
2669
2462
|
triggerFn(options.success, response);
|
|
2670
2463
|
this.table.invokeEventCallback('rowupdate', { $event: options.event, $data: response, row: response });
|