@smartbit4all/ng-client 7.1.0 → 7.1.1
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.
|
@@ -11456,6 +11456,11 @@ class Table {
|
|
|
11456
11456
|
this.ACTION_SEPERATOR = '_actionSeparator_';
|
|
11457
11457
|
// ---- Toolbar ----
|
|
11458
11458
|
this.defaultActionToolbarId = SmartGridToolbarActionsUtil.defaultActionToolbarId;
|
|
11459
|
+
/**
|
|
11460
|
+
* The row menu model by row id, so that the toolbar binding sees the same array on every
|
|
11461
|
+
* change detection pass and does not rebuild an open menu. Cleared whenever the rows are
|
|
11462
|
+
* rendered anew: a row keeps its id across reloads, but not necessarily its actions.
|
|
11463
|
+
*/
|
|
11459
11464
|
this.rowMenuActionModelArrayCache = new Map();
|
|
11460
11465
|
// ------------- TREE_GRID -------------
|
|
11461
11466
|
this.expandedRowIds = new Set();
|
|
@@ -11531,6 +11536,7 @@ class Table {
|
|
|
11531
11536
|
}
|
|
11532
11537
|
renderRows() {
|
|
11533
11538
|
this.createCellToActionMap();
|
|
11539
|
+
this.rowMenuActionModelArrayCache.clear();
|
|
11534
11540
|
this.myTableChild.renderRows();
|
|
11535
11541
|
}
|
|
11536
11542
|
createCellToActionMap() {
|