@openui5/sap.ui.table 1.143.1 → 1.144.0
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/THIRDPARTY.txt +1 -1
- package/package.json +3 -3
- package/src/sap/ui/table/.library +2 -2
- package/src/sap/ui/table/AnalyticalColumn.js +2 -2
- package/src/sap/ui/table/AnalyticalColumnMenu.js +2 -2
- package/src/sap/ui/table/AnalyticalTable.js +2 -2
- package/src/sap/ui/table/Column.js +2 -2
- package/src/sap/ui/table/ColumnMenu.js +2 -2
- package/src/sap/ui/table/CreationRow.js +2 -2
- package/src/sap/ui/table/CreationRowRenderer.js +2 -2
- package/src/sap/ui/table/HeaderSelector.js +90 -0
- package/src/sap/ui/table/HeaderSelectorRenderer.js +88 -0
- package/src/sap/ui/table/Row.js +2 -2
- package/src/sap/ui/table/RowAction.js +2 -2
- package/src/sap/ui/table/RowActionItem.js +2 -2
- package/src/sap/ui/table/RowActionRenderer.js +1 -1
- package/src/sap/ui/table/RowSettings.js +2 -2
- package/src/sap/ui/table/Table.js +37 -60
- package/src/sap/ui/table/TablePersoController.js +2 -2
- package/src/sap/ui/table/TableRenderer.js +1624 -718
- package/src/sap/ui/table/TreeTable.js +2 -2
- package/src/sap/ui/table/designtime/AnalyticalTable.designtime.js +5 -1
- package/src/sap/ui/table/designtime/Table.designtime.js +5 -1
- package/src/sap/ui/table/designtime/library.designtime.js +1 -1
- package/src/sap/ui/table/designtime/messagebundle.properties +6 -0
- package/src/sap/ui/table/extensions/Accessibility.js +28 -53
- package/src/sap/ui/table/extensions/AccessibilityRender.js +3 -4
- package/src/sap/ui/table/extensions/DragAndDrop.js +2 -2
- package/src/sap/ui/table/extensions/ExtensionBase.js +2 -2
- package/src/sap/ui/table/extensions/Keyboard.js +5 -31
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +2 -2
- package/src/sap/ui/table/extensions/Pointer.js +2 -2
- package/src/sap/ui/table/extensions/Scrolling.js +2 -10
- package/src/sap/ui/table/extensions/ScrollingIOS.js +2 -2
- package/src/sap/ui/table/extensions/Synchronization.js +16 -18
- package/src/sap/ui/table/library.js +11 -11
- package/src/sap/ui/table/library.support.js +1 -1
- package/src/sap/ui/table/menus/AnalyticalTableContextMenu.js +2 -2
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +2 -2
- package/src/sap/ui/table/menus/ContextMenu.js +2 -2
- package/src/sap/ui/table/menus/LegacyColumnMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +2 -2
- package/src/sap/ui/table/plugins/BindingSelection.js +27 -13
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +63 -52
- package/src/sap/ui/table/plugins/ODataV4Aggregation.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4Hierarchy.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4MultiLevel.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4MultiSelection.js +78 -71
- package/src/sap/ui/table/plugins/ODataV4Selection.js +2 -2
- package/src/sap/ui/table/plugins/ODataV4SingleSelection.js +2 -2
- package/src/sap/ui/table/plugins/PluginBase.js +2 -2
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +26 -13
- package/src/sap/ui/table/plugins/SelectionPlugin.js +16 -14
- package/src/sap/ui/table/rowmodes/Auto.js +5 -13
- package/src/sap/ui/table/rowmodes/Fixed.js +3 -4
- package/src/sap/ui/table/rowmodes/Interactive.js +21 -27
- package/src/sap/ui/table/rowmodes/RowMode.js +20 -88
- package/src/sap/ui/table/rowmodes/Type.js +1 -1
- package/src/sap/ui/table/rowmodes/Variable.js +2 -2
- package/src/sap/ui/table/rules/Accessibility.support.js +1 -1
- package/src/sap/ui/table/rules/Binding.support.js +1 -1
- package/src/sap/ui/table/rules/ColumnTemplate.support.js +1 -1
- package/src/sap/ui/table/rules/Plugins.support.js +1 -1
- package/src/sap/ui/table/rules/Rows.support.js +1 -1
- package/src/sap/ui/table/rules/TableHelper.support.js +1 -1
- package/src/sap/ui/table/themes/base/Cell.less +26 -16
- package/src/sap/ui/table/themes/base/CheckBox.less +51 -0
- package/src/sap/ui/table/themes/base/HeaderSelector.less +61 -0
- package/src/sap/ui/table/themes/base/RowSelection.less +9 -138
- package/src/sap/ui/table/themes/base/library.source.less +3 -1
- package/src/sap/ui/table/themes/sap_hcb/base_Cell.less +1 -1
- package/src/sap/ui/table/themes/sap_hcb/base_RowSelection.less +1 -1
- package/src/sap/ui/table/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/ui/table/utils/TableUtils.js +2 -2
- package/src/sap/ui/table/utils/_ColumnUtils.js +2 -2
- package/src/sap/ui/table/utils/_GroupingUtils.js +2 -2
- package/src/sap/ui/table/utils/_HookUtils.js +2 -2
- package/src/sap/ui/table/utils/_MenuUtils.js +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @class
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.144.0
|
|
27
27
|
* @private
|
|
28
28
|
* @alias sap.ui.table.menus.ContextMenu
|
|
29
29
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ sap.ui.define([
|
|
|
57
57
|
*
|
|
58
58
|
* @extends sap.ui.table.menus.ColumnHeaderMenuAdapter
|
|
59
59
|
* @author SAP SE
|
|
60
|
-
* @version 1.
|
|
60
|
+
* @version 1.144.0
|
|
61
61
|
* @private
|
|
62
62
|
* @alias sap.ui.table.menus.MobileColumnHeaderMenuAdapter
|
|
63
63
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.144.0
|
|
28
28
|
|
|
29
29
|
* @private
|
|
30
30
|
* @alias sap.ui.table.plugins.BindingSelection
|
|
@@ -62,6 +62,7 @@ sap.ui.define([
|
|
|
62
62
|
BindingSelection.prototype.onActivate = function(oTable) {
|
|
63
63
|
SelectionPlugin.prototype.onActivate.apply(this, arguments);
|
|
64
64
|
attachToBinding(this, oTable.getBinding());
|
|
65
|
+
updateHeaderSelector(this);
|
|
65
66
|
TableUtils.Hook.register(oTable, TableUtils.Hook.Keys.Table.RowsBound, onTableRowsBound, this);
|
|
66
67
|
};
|
|
67
68
|
|
|
@@ -101,17 +102,25 @@ sap.ui.define([
|
|
|
101
102
|
};
|
|
102
103
|
|
|
103
104
|
/**
|
|
104
|
-
*
|
|
105
|
+
* Updates the header selector based on the current selection state.
|
|
106
|
+
*
|
|
107
|
+
* @param {sap.ui.table.plugins.BindingSelection} oPlugin The plugin instance
|
|
108
|
+
* @private
|
|
105
109
|
*/
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
110
|
+
function updateHeaderSelector(oPlugin) {
|
|
111
|
+
const oHeaderSelector = oPlugin._getHeaderSelector();
|
|
112
|
+
|
|
113
|
+
if (!oPlugin.isActive() || !oHeaderSelector) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
const iSelectableCount = oPlugin.getSelectableCount();
|
|
118
|
+
|
|
119
|
+
oHeaderSelector.setVisible(TableUtils.hasSelectAll(oPlugin.getControl()));
|
|
120
|
+
oHeaderSelector.setEnabled(true);
|
|
121
|
+
oHeaderSelector.setType("CheckBox");
|
|
122
|
+
oHeaderSelector.setCheckBoxSelected(iSelectableCount > 0 && iSelectableCount === oPlugin.getSelectedCount());
|
|
123
|
+
}
|
|
115
124
|
|
|
116
125
|
function toggleSelectAll(oPlugin) {
|
|
117
126
|
const oTable = oPlugin.getControl();
|
|
@@ -143,7 +152,7 @@ sap.ui.define([
|
|
|
143
152
|
* @private
|
|
144
153
|
*/
|
|
145
154
|
BindingSelection.prototype.onHeaderSelectorPress = function() {
|
|
146
|
-
if (this.
|
|
155
|
+
if (this._getHeaderSelector().getVisible()) {
|
|
147
156
|
toggleSelectAll(this);
|
|
148
157
|
}
|
|
149
158
|
};
|
|
@@ -387,6 +396,8 @@ sap.ui.define([
|
|
|
387
396
|
this.clearSelection();
|
|
388
397
|
}
|
|
389
398
|
|
|
399
|
+
updateHeaderSelector(this);
|
|
400
|
+
|
|
390
401
|
return this;
|
|
391
402
|
};
|
|
392
403
|
|
|
@@ -411,6 +422,7 @@ sap.ui.define([
|
|
|
411
422
|
|
|
412
423
|
function onTableRowsBound(oBinding) {
|
|
413
424
|
attachToBinding(this, oBinding);
|
|
425
|
+
updateHeaderSelector(this);
|
|
414
426
|
}
|
|
415
427
|
|
|
416
428
|
function attachToBinding(oPlugin, oBinding) {
|
|
@@ -435,6 +447,8 @@ sap.ui.define([
|
|
|
435
447
|
const aRowIndices = oEvent.getParameter("rowIndices");
|
|
436
448
|
const bSelectAll = oEvent.getParameter("selectAll");
|
|
437
449
|
|
|
450
|
+
updateHeaderSelector(this);
|
|
451
|
+
|
|
438
452
|
this.fireSelectionChange({
|
|
439
453
|
rowIndices: aRowIndices,
|
|
440
454
|
selectAll: bSelectAll
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -10,7 +10,6 @@ sap.ui.define([
|
|
|
10
10
|
"./BindingSelection",
|
|
11
11
|
"../library",
|
|
12
12
|
"../utils/TableUtils",
|
|
13
|
-
"sap/ui/core/Icon",
|
|
14
13
|
"sap/ui/core/IconPool",
|
|
15
14
|
"sap/base/Log"
|
|
16
15
|
], function(
|
|
@@ -20,7 +19,6 @@ sap.ui.define([
|
|
|
20
19
|
BindingSelectionPlugin,
|
|
21
20
|
library,
|
|
22
21
|
TableUtils,
|
|
23
|
-
Icon,
|
|
24
22
|
IconPool,
|
|
25
23
|
Log
|
|
26
24
|
) {
|
|
@@ -56,7 +54,7 @@ sap.ui.define([
|
|
|
56
54
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
57
55
|
*
|
|
58
56
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
57
|
+
* @version 1.144.0
|
|
60
58
|
*
|
|
61
59
|
* @public
|
|
62
60
|
* @since 1.64
|
|
@@ -99,9 +97,6 @@ sap.ui.define([
|
|
|
99
97
|
*/
|
|
100
98
|
selectionMode: {type: "sap.ui.table.SelectionMode", group: "Behavior", defaultValue: SelectionMode.MultiToggle}
|
|
101
99
|
},
|
|
102
|
-
aggregations: {
|
|
103
|
-
icon: {type: "sap.ui.core.Icon", multiple: false, visibility: "hidden"}
|
|
104
|
-
},
|
|
105
100
|
events: {
|
|
106
101
|
/**
|
|
107
102
|
* This event is fired when the selection is changed.
|
|
@@ -149,8 +144,9 @@ sap.ui.define([
|
|
|
149
144
|
attachToBinding(this, oTable.getBinding());
|
|
150
145
|
oTable.addAggregation("_hiddenDependents", this.oInnerSelectionPlugin);
|
|
151
146
|
oTable.setProperty("selectionMode", this.getSelectionMode());
|
|
152
|
-
|
|
147
|
+
updateHeaderSelector(this);
|
|
153
148
|
TableUtils.Hook.register(oTable, TableUtils.Hook.Keys.Table.RowsBound, onTableRowsBound, this);
|
|
149
|
+
TableUtils.Hook.register(oTable, TableUtils.Hook.Keys.Table.RowsUnbound, onTableRowsUnbound, this);
|
|
154
150
|
};
|
|
155
151
|
|
|
156
152
|
function createInnerSelectionPlugin(oTable) {
|
|
@@ -171,6 +167,7 @@ sap.ui.define([
|
|
|
171
167
|
this.oInnerSelectionPlugin?.destroy();
|
|
172
168
|
delete this.oInnerSelectionPlugin;
|
|
173
169
|
TableUtils.Hook.deregister(oTable, TableUtils.Hook.Keys.Table.RowsBound, onTableRowsBound, this);
|
|
170
|
+
TableUtils.Hook.deregister(oTable, TableUtils.Hook.Keys.Table.RowsUnbound, onTableRowsUnbound, this);
|
|
174
171
|
};
|
|
175
172
|
|
|
176
173
|
MultiSelectionPlugin.prototype.setSelected = function(oRow, bSelected, mConfig) {
|
|
@@ -195,38 +192,21 @@ sap.ui.define([
|
|
|
195
192
|
return this.isIndexSelected(oRow.getIndex());
|
|
196
193
|
};
|
|
197
194
|
|
|
198
|
-
MultiSelectionPlugin.prototype.getRenderConfig = function() {
|
|
199
|
-
if (!this.isActive()) {
|
|
200
|
-
return SelectionPlugin.prototype.getRenderConfig.apply(this, arguments);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
return {
|
|
204
|
-
headerSelector: {
|
|
205
|
-
type: this._bLimitDisabled ? "toggle" : "custom",
|
|
206
|
-
icon: this.getAggregation("icon"),
|
|
207
|
-
visible: this.getSelectionMode() === SelectionMode.MultiToggle && this.getShowHeaderSelector(),
|
|
208
|
-
enabled: this.getSelectableCount() > 0,
|
|
209
|
-
selected: this.getSelectableCount() > 0 && this.getSelectableCount() === this.getSelectedCount(),
|
|
210
|
-
tooltip: this.getSelectedCount() === 0 ? TableUtils.getResourceText("TBL_SELECT_ALL") : TableUtils.getResourceText("TBL_DESELECT_ALL")
|
|
211
|
-
}
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
|
|
215
195
|
MultiSelectionPlugin.prototype.onHeaderSelectorPress = function() {
|
|
216
|
-
const
|
|
196
|
+
const oHeaderSelector = this._getHeaderSelector();
|
|
217
197
|
|
|
218
|
-
if (!
|
|
198
|
+
if (!oHeaderSelector.getVisible() || !oHeaderSelector.getEnabled()) {
|
|
219
199
|
return;
|
|
220
200
|
}
|
|
221
201
|
|
|
222
|
-
if (
|
|
202
|
+
if (oHeaderSelector.getType() === "CheckBox") {
|
|
223
203
|
toggleSelection(this);
|
|
224
|
-
} else if (
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
204
|
+
} else if (oHeaderSelector.getType() === "Icon") {
|
|
205
|
+
if (this.getSelectedCount() > 0) {
|
|
206
|
+
this.clearSelection();
|
|
207
|
+
} else {
|
|
228
208
|
this.addSelectionInterval(0, this._getHighestSelectableIndex());
|
|
229
|
-
|
|
209
|
+
}
|
|
230
210
|
}
|
|
231
211
|
};
|
|
232
212
|
|
|
@@ -274,7 +254,7 @@ sap.ui.define([
|
|
|
274
254
|
|
|
275
255
|
this.getControl().setProperty("selectionMode", sSelectionMode);
|
|
276
256
|
this.oInnerSelectionPlugin.setSelectionMode(sSelectionMode);
|
|
277
|
-
|
|
257
|
+
updateHeaderSelector(this);
|
|
278
258
|
|
|
279
259
|
return this;
|
|
280
260
|
};
|
|
@@ -289,7 +269,7 @@ sap.ui.define([
|
|
|
289
269
|
this.setProperty("limit", iLimit, !!this.getLimit() === !!iLimit);
|
|
290
270
|
this._bLimitDisabled = iLimit === 0;
|
|
291
271
|
|
|
292
|
-
|
|
272
|
+
updateHeaderSelector(this);
|
|
293
273
|
|
|
294
274
|
return this;
|
|
295
275
|
};
|
|
@@ -299,6 +279,12 @@ sap.ui.define([
|
|
|
299
279
|
return this;
|
|
300
280
|
};
|
|
301
281
|
|
|
282
|
+
MultiSelectionPlugin.prototype.setShowHeaderSelector = function(bShow) {
|
|
283
|
+
this.setProperty("showHeaderSelector", bShow, true);
|
|
284
|
+
updateHeaderSelector(this);
|
|
285
|
+
return this;
|
|
286
|
+
};
|
|
287
|
+
|
|
302
288
|
/**
|
|
303
289
|
* Returns <code>true</code> if the selection limit has been reached (only the last selection), <code>false</code> otherwise.
|
|
304
290
|
*
|
|
@@ -634,31 +620,51 @@ sap.ui.define([
|
|
|
634
620
|
};
|
|
635
621
|
|
|
636
622
|
/**
|
|
637
|
-
*
|
|
623
|
+
* Updates the HeaderSelector control based on the current selection state.
|
|
638
624
|
*
|
|
639
|
-
* @param {sap.ui.table.plugins.MultiSelectionPlugin} oPlugin The plugin to
|
|
625
|
+
* @param {sap.ui.table.plugins.MultiSelectionPlugin} oPlugin The plugin to update the header selector for.
|
|
640
626
|
*/
|
|
641
|
-
function
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
627
|
+
function updateHeaderSelector(oPlugin) {
|
|
628
|
+
const oHeaderSelector = oPlugin._getHeaderSelector();
|
|
629
|
+
|
|
630
|
+
if (!oPlugin.isActive() || !oHeaderSelector) {
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
const bVisible = oPlugin.getSelectionMode() === SelectionMode.MultiToggle && oPlugin.getShowHeaderSelector();
|
|
635
|
+
const sType = oPlugin._bLimitDisabled ? "CheckBox" : "Icon";
|
|
636
|
+
const bEnabled = oPlugin.getSelectableCount() > 0;
|
|
637
|
+
const bSelected = oPlugin.getSelectableCount() > 0 && oPlugin.getSelectableCount() === oPlugin.getSelectedCount();
|
|
638
|
+
let sTooltip = null;
|
|
639
|
+
|
|
640
|
+
if (sType === "Icon") { // Default tooltip is used for type CheckBox.
|
|
641
|
+
if (oPlugin.getSelectedCount() === 0) {
|
|
642
|
+
sTooltip = TableUtils.getResourceText("TBL_SELECT_ALL");
|
|
643
|
+
} else {
|
|
644
|
+
sTooltip = TableUtils.getResourceText("TBL_DESELECT_ALL");
|
|
647
645
|
}
|
|
646
|
+
}
|
|
648
647
|
|
|
649
|
-
|
|
648
|
+
// Determine icon
|
|
649
|
+
let sIcon = "";
|
|
650
|
+
if (oPlugin.getSelectionMode() === SelectionMode.MultiToggle && !oPlugin._bLimitDisabled) {
|
|
650
651
|
const iSelectedCount = oPlugin.getSelectedCount();
|
|
651
652
|
|
|
652
653
|
if (oPlugin.getSelectableCount() === iSelectedCount && iSelectedCount !== 0) {
|
|
653
|
-
|
|
654
|
+
sIcon = IconPool.getIconURI(TableUtils.ThemeParameters.allSelectedIcon);
|
|
654
655
|
} else if (iSelectedCount !== 0) {
|
|
655
|
-
|
|
656
|
+
sIcon = IconPool.getIconURI(TableUtils.ThemeParameters.clearSelectionIcon);
|
|
656
657
|
} else {
|
|
657
|
-
|
|
658
|
+
sIcon = IconPool.getIconURI(TableUtils.ThemeParameters.checkboxIcon);
|
|
658
659
|
}
|
|
659
|
-
} else {
|
|
660
|
-
oPlugin.destroyAggregation("icon");
|
|
661
660
|
}
|
|
661
|
+
|
|
662
|
+
oHeaderSelector.setVisible(bVisible);
|
|
663
|
+
oHeaderSelector.setType(sType);
|
|
664
|
+
oHeaderSelector.setEnabled(bEnabled);
|
|
665
|
+
oHeaderSelector.setCheckBoxSelected(bSelected);
|
|
666
|
+
oHeaderSelector.setIcon(sIcon);
|
|
667
|
+
oHeaderSelector.setTooltip(sTooltip);
|
|
662
668
|
}
|
|
663
669
|
|
|
664
670
|
/**
|
|
@@ -670,7 +676,7 @@ sap.ui.define([
|
|
|
670
676
|
MultiSelectionPlugin.prototype._onSelectionChange = function(oEvent) {
|
|
671
677
|
const aRowIndices = oEvent.getParameter("rowIndices");
|
|
672
678
|
|
|
673
|
-
|
|
679
|
+
updateHeaderSelector(this);
|
|
674
680
|
|
|
675
681
|
this.fireSelectionChange({
|
|
676
682
|
rowIndices: aRowIndices,
|
|
@@ -696,6 +702,11 @@ sap.ui.define([
|
|
|
696
702
|
|
|
697
703
|
function onTableRowsBound(oBinding) {
|
|
698
704
|
attachToBinding(this, oBinding);
|
|
705
|
+
updateHeaderSelector(this);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
function onTableRowsUnbound() {
|
|
709
|
+
updateHeaderSelector(this);
|
|
699
710
|
}
|
|
700
711
|
|
|
701
712
|
function attachToBinding(oPlugin, oBinding) {
|
|
@@ -707,11 +718,11 @@ sap.ui.define([
|
|
|
707
718
|
}
|
|
708
719
|
|
|
709
720
|
function onBindingChange(oEvent) {
|
|
710
|
-
|
|
721
|
+
updateHeaderSelector(this);
|
|
711
722
|
}
|
|
712
723
|
|
|
713
724
|
MultiSelectionPlugin.prototype.onThemeChanged = function() {
|
|
714
|
-
|
|
725
|
+
updateHeaderSelector(this);
|
|
715
726
|
};
|
|
716
727
|
|
|
717
728
|
return MultiSelectionPlugin;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @extends sap.ui.core.Element
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.144.0
|
|
31
31
|
*
|
|
32
32
|
* @public
|
|
33
33
|
* @since 1.140
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @extends sap.ui.core.Element
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.144.0
|
|
31
31
|
*
|
|
32
32
|
* @public
|
|
33
33
|
* @since 1.140
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright
|
|
3
|
+
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* @extends sap.ui.table.plugins.PluginBase
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.144.0
|
|
25
25
|
*
|
|
26
26
|
* @private
|
|
27
27
|
* @alias sap.ui.table.plugins.ODataV4MultiLevel
|