@openui5/sap.ui.table 1.117.0 → 1.117.2
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/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +4 -14
- package/src/sap/ui/table/AnalyticalColumnMenu.js +11 -10
- package/src/sap/ui/table/AnalyticalTable.js +1 -1
- package/src/sap/ui/table/Column.js +1 -1
- package/src/sap/ui/table/ColumnMenu.js +1 -1
- package/src/sap/ui/table/CreationRow.js +1 -1
- package/src/sap/ui/table/Row.js +1 -1
- package/src/sap/ui/table/RowAction.js +1 -1
- package/src/sap/ui/table/RowActionItem.js +1 -1
- package/src/sap/ui/table/RowSettings.js +1 -1
- package/src/sap/ui/table/Table.js +1 -1
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TreeTable.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +1 -1
- package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
- package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
- package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
- package/src/sap/ui/table/extensions/Keyboard.js +1 -1
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
- package/src/sap/ui/table/extensions/Pointer.js +1 -1
- package/src/sap/ui/table/extensions/Scrolling.js +1 -1
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +1 -1
- package/src/sap/ui/table/library.js +11 -11
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/LegacyColumnMenuAdapter.js +4 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +19 -2
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/PluginBase.js +1 -1
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
- package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
- package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
- package/src/sap/ui/table/rowmodes/AutoRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/FixedRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/RowMode.js +1 -1
- package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
- package/src/sap/ui/table/utils/TableUtils.js +1 -1
- package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
- package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
- package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
- package/src/sap/ui/table/utils/_HookUtils.js +1 -1
- package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.117.
|
|
3
|
+
"version": "1.117.2",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.table",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.117.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.117.
|
|
17
|
+
"@openui5/sap.ui.core": "1.117.2",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.117.2"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.117.
|
|
9
|
+
<version>1.117.2</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
|
@@ -14,8 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
'sap/ui/model/type/Float',
|
|
15
15
|
'sap/ui/model/type/Integer',
|
|
16
16
|
'sap/ui/model/type/Time',
|
|
17
|
-
'./utils/TableUtils'
|
|
18
|
-
'./AnalyticalColumnMenu'
|
|
17
|
+
'./utils/TableUtils'
|
|
19
18
|
],
|
|
20
19
|
function(
|
|
21
20
|
Column,
|
|
@@ -26,8 +25,7 @@ sap.ui.define([
|
|
|
26
25
|
Float,
|
|
27
26
|
Integer,
|
|
28
27
|
Time,
|
|
29
|
-
TableUtils
|
|
30
|
-
AnalyticalColumnMenu
|
|
28
|
+
TableUtils
|
|
31
29
|
) {
|
|
32
30
|
"use strict";
|
|
33
31
|
|
|
@@ -48,7 +46,7 @@ sap.ui.define([
|
|
|
48
46
|
* @extends sap.ui.table.Column
|
|
49
47
|
*
|
|
50
48
|
* @author SAP SE
|
|
51
|
-
* @version 1.117.
|
|
49
|
+
* @version 1.117.2
|
|
52
50
|
*
|
|
53
51
|
* @constructor
|
|
54
52
|
* @public
|
|
@@ -98,15 +96,6 @@ sap.ui.define([
|
|
|
98
96
|
"Boolean": new BooleanType()
|
|
99
97
|
};
|
|
100
98
|
|
|
101
|
-
/*
|
|
102
|
-
* Factory method. Creates the column menu.
|
|
103
|
-
*
|
|
104
|
-
* @returns {sap.ui.table.AnalyticalColumnMenu} The created column menu.
|
|
105
|
-
*/
|
|
106
|
-
AnalyticalColumn.prototype._createMenu = function() {
|
|
107
|
-
return new AnalyticalColumnMenu(this.getId() + "-menu");
|
|
108
|
-
};
|
|
109
|
-
|
|
110
99
|
AnalyticalColumn.prototype._setGrouped = function(bGrouped) {
|
|
111
100
|
var oTable = this._getTable();
|
|
112
101
|
var sGroupEventType = bGrouped ? GroupEventType.group : GroupEventType.ungroup;
|
|
@@ -127,6 +116,7 @@ sap.ui.define([
|
|
|
127
116
|
var oParent = this.getParent();
|
|
128
117
|
|
|
129
118
|
if (isInstanceOfAnalyticalTable(oParent)) {
|
|
119
|
+
oParent._bContextsAvailable = false;
|
|
130
120
|
if (bGrouped) {
|
|
131
121
|
oParent._addGroupedColumn(this.getId());
|
|
132
122
|
} else {
|
|
@@ -20,7 +20,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
20
20
|
* @extends sap.ui.table.ColumnMenu
|
|
21
21
|
*
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.117.
|
|
23
|
+
* @version 1.117.2
|
|
24
24
|
*
|
|
25
25
|
* @constructor
|
|
26
26
|
* @public
|
|
@@ -43,7 +43,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
43
43
|
AnalyticalColumnMenu.prototype._addMenuItems = function() {
|
|
44
44
|
// when you add or remove menu items here, remember to update the hasItems function
|
|
45
45
|
ColumnMenu.prototype._addMenuItems.apply(this);
|
|
46
|
-
if (this.
|
|
46
|
+
if (this._getColumn()) {
|
|
47
47
|
this._addSumMenuItem();
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -53,8 +53,8 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
53
53
|
* @private
|
|
54
54
|
*/
|
|
55
55
|
AnalyticalColumnMenu.prototype._addGroupMenuItem = function() {
|
|
56
|
-
var oColumn = this.
|
|
57
|
-
|
|
56
|
+
var oColumn = this._getColumn();
|
|
57
|
+
var oTable = this._getTable();
|
|
58
58
|
|
|
59
59
|
if (oColumn.isGroupableByMenu()) {
|
|
60
60
|
this._oGroupIcon = this._createMenuItem(
|
|
@@ -63,10 +63,9 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
63
63
|
oColumn.getGrouped() ? "accept" : null,
|
|
64
64
|
function(oEvent) {
|
|
65
65
|
var oMenuItem = oEvent.getSource();
|
|
66
|
-
var bGrouped = oColumn.getGrouped();
|
|
66
|
+
var bGrouped = !oColumn.getGrouped();
|
|
67
67
|
|
|
68
|
-
oColumn.
|
|
69
|
-
if (!bGrouped && !oColumn.getShowIfGrouped()) {
|
|
68
|
+
if (bGrouped && !oColumn.getShowIfGrouped()) {
|
|
70
69
|
var oDomRef;
|
|
71
70
|
|
|
72
71
|
if (TableUtils.isNoDataVisible(oTable)) {
|
|
@@ -79,7 +78,9 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
79
78
|
oDomRef.focus();
|
|
80
79
|
}
|
|
81
80
|
}
|
|
82
|
-
|
|
81
|
+
|
|
82
|
+
oColumn._setGrouped(bGrouped);
|
|
83
|
+
oMenuItem.setIcon(bGrouped ? "sap-icon://accept" : null);
|
|
83
84
|
}
|
|
84
85
|
);
|
|
85
86
|
this.addItem(this._oGroupIcon);
|
|
@@ -91,7 +92,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
91
92
|
* @private
|
|
92
93
|
*/
|
|
93
94
|
AnalyticalColumnMenu.prototype._addSumMenuItem = function() {
|
|
94
|
-
var oColumn = this.
|
|
95
|
+
var oColumn = this._getColumn();
|
|
95
96
|
|
|
96
97
|
if (oColumn._isAggregatableByMenu()) {
|
|
97
98
|
this._oSumItem = this._createMenuItem(
|
|
@@ -113,7 +114,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './utils/TableUtil
|
|
|
113
114
|
AnalyticalColumnMenu.prototype.open = function() {
|
|
114
115
|
ColumnMenu.prototype.open.apply(this, arguments);
|
|
115
116
|
|
|
116
|
-
var oColumn = this.
|
|
117
|
+
var oColumn = this._getColumn();
|
|
117
118
|
this._oSumItem && this._oSumItem.setIcon(oColumn.getSummed() ? "sap-icon://accept" : null);
|
|
118
119
|
this._oGroupIcon && this._oGroupIcon.setIcon(oColumn.getGrouped() ? "sap-icon://accept" : null);
|
|
119
120
|
};
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* If more action items are available as the available space allows to display an overflow mechanism is provided.
|
|
36
36
|
* This control must only be used in the context of the <code>sap.ui.table.Table</code> control to define row actions.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
|
-
* @version 1.117.
|
|
38
|
+
* @version 1.117.2
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* The <code>RowSettings</code> control allows you to configure a row.
|
|
25
25
|
* You can only use this control in the context of the <code>sap.ui.table.Table</code> control to define row settings.
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
|
-
* @version 1.117.
|
|
27
|
+
* @version 1.117.2
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -954,7 +954,7 @@ sap.ui.define([
|
|
|
954
954
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
955
955
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
956
956
|
* @author SAP SE
|
|
957
|
-
* @version 1.117.
|
|
957
|
+
* @version 1.117.2
|
|
958
958
|
* @constructor
|
|
959
959
|
* @private
|
|
960
960
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @class Extension for sap.ui.table.TableRenderer which handles ACC related things.
|
|
43
43
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.117.
|
|
45
|
+
* @version 1.117.2
|
|
46
46
|
* @constructor
|
|
47
47
|
* @private
|
|
48
48
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -267,7 +267,7 @@ sap.ui.define([
|
|
|
267
267
|
* @class Extension for sap.ui.table.Table which handles keyboard related things.
|
|
268
268
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
269
269
|
* @author SAP SE
|
|
270
|
-
* @version 1.117.
|
|
270
|
+
* @version 1.117.2
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -770,7 +770,7 @@ sap.ui.define([
|
|
|
770
770
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
771
771
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
772
772
|
* @author SAP SE
|
|
773
|
-
* @version 1.117.
|
|
773
|
+
* @version 1.117.2
|
|
774
774
|
* @constructor
|
|
775
775
|
* @private
|
|
776
776
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -2256,7 +2256,7 @@ sap.ui.define([
|
|
|
2256
2256
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2257
2257
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2258
2258
|
* @author SAP SE
|
|
2259
|
-
* @version 1.117.
|
|
2259
|
+
* @version 1.117.2
|
|
2260
2260
|
* @constructor
|
|
2261
2261
|
* @private
|
|
2262
2262
|
* @alias sap.ui.table.extensions.Scrolling
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class Extension for sap.ui.table.Table which handles the scrollbar on iOS.
|
|
28
28
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.117.
|
|
30
|
+
* @version 1.117.2
|
|
31
31
|
* @constructor
|
|
32
32
|
* @private
|
|
33
33
|
* @alias sap.ui.table.extensions.ScrollingIOS
|
|
@@ -181,7 +181,7 @@ sap.ui.define([
|
|
|
181
181
|
* @class Extension for sap.ui.table.Table that allows synchronization with a table.
|
|
182
182
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
183
183
|
* @author SAP SE
|
|
184
|
-
* @version 1.117.
|
|
184
|
+
* @version 1.117.2
|
|
185
185
|
* @constructor
|
|
186
186
|
* @private
|
|
187
187
|
* @alias sap.ui.table.extensions.Synchronization
|
|
@@ -24,13 +24,13 @@ sap.ui.define([
|
|
|
24
24
|
* @namespace
|
|
25
25
|
* @alias sap.ui.table
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.117.
|
|
27
|
+
* @version 1.117.2
|
|
28
28
|
* @since 0.8
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
31
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
32
32
|
name: "sap.ui.table",
|
|
33
|
-
version: "1.117.
|
|
33
|
+
version: "1.117.2",
|
|
34
34
|
dependencies: ["sap.ui.core", "sap.ui.unified"],
|
|
35
35
|
designtime: "sap/ui/table/designtime/library.designtime",
|
|
36
36
|
types: [
|
|
@@ -88,7 +88,7 @@ sap.ui.define([
|
|
|
88
88
|
/**
|
|
89
89
|
* Navigation mode of the table
|
|
90
90
|
*
|
|
91
|
-
* @version 1.117.
|
|
91
|
+
* @version 1.117.2
|
|
92
92
|
* @enum {string}
|
|
93
93
|
* @public
|
|
94
94
|
*/
|
|
@@ -115,7 +115,7 @@ sap.ui.define([
|
|
|
115
115
|
/**
|
|
116
116
|
* Row Action types.
|
|
117
117
|
*
|
|
118
|
-
* @version 1.117.
|
|
118
|
+
* @version 1.117.2
|
|
119
119
|
* @enum {string}
|
|
120
120
|
* @public
|
|
121
121
|
*/
|
|
@@ -144,7 +144,7 @@ sap.ui.define([
|
|
|
144
144
|
/**
|
|
145
145
|
* Selection behavior of the table
|
|
146
146
|
*
|
|
147
|
-
* @version 1.117.
|
|
147
|
+
* @version 1.117.2
|
|
148
148
|
* @enum {string}
|
|
149
149
|
* @public
|
|
150
150
|
*/
|
|
@@ -173,7 +173,7 @@ sap.ui.define([
|
|
|
173
173
|
/**
|
|
174
174
|
* Selection mode of the table
|
|
175
175
|
*
|
|
176
|
-
* @version 1.117.
|
|
176
|
+
* @version 1.117.2
|
|
177
177
|
* @enum {string}
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
@@ -209,7 +209,7 @@ sap.ui.define([
|
|
|
209
209
|
/**
|
|
210
210
|
* Sort order of a column
|
|
211
211
|
*
|
|
212
|
-
* @version 1.117.
|
|
212
|
+
* @version 1.117.2
|
|
213
213
|
* @enum {string}
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
@@ -232,7 +232,7 @@ sap.ui.define([
|
|
|
232
232
|
/**
|
|
233
233
|
* VisibleRowCountMode of the table
|
|
234
234
|
*
|
|
235
|
-
* @version 1.117.
|
|
235
|
+
* @version 1.117.2
|
|
236
236
|
* @enum {string}
|
|
237
237
|
* @public
|
|
238
238
|
*/
|
|
@@ -263,7 +263,7 @@ sap.ui.define([
|
|
|
263
263
|
*
|
|
264
264
|
* Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
|
|
265
265
|
*
|
|
266
|
-
* @version 1.117.
|
|
266
|
+
* @version 1.117.2
|
|
267
267
|
* @enum {string}
|
|
268
268
|
* @public
|
|
269
269
|
*/
|
|
@@ -361,7 +361,7 @@ sap.ui.define([
|
|
|
361
361
|
*
|
|
362
362
|
* This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
|
|
363
363
|
*
|
|
364
|
-
* @version 1.117.
|
|
364
|
+
* @version 1.117.2
|
|
365
365
|
* @typedef {sap.ui.model.TreeAutoExpandMode}
|
|
366
366
|
* @public
|
|
367
367
|
*/
|
|
@@ -374,7 +374,7 @@ sap.ui.define([
|
|
|
374
374
|
/**
|
|
375
375
|
* Mode of a selection plugin
|
|
376
376
|
*
|
|
377
|
-
* @version 1.117.
|
|
377
|
+
* @version 1.117.2
|
|
378
378
|
* @enum {string}
|
|
379
379
|
* @private
|
|
380
380
|
*/
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
"./ColumnHeaderMenuAdapter",
|
|
9
9
|
"sap/ui/table/ColumnMenu",
|
|
10
|
+
"sap/ui/table/AnalyticalColumnMenu",
|
|
10
11
|
"sap/ui/table/utils/TableUtils",
|
|
11
12
|
"sap/ui/table/utils/_MenuUtils",
|
|
12
13
|
"sap/ui/core/Popup",
|
|
@@ -15,6 +16,7 @@ sap.ui.define([
|
|
|
15
16
|
], function(
|
|
16
17
|
ColumnHeaderMenuAdapter,
|
|
17
18
|
ColumnMenu,
|
|
19
|
+
AnalyticalColumnMenu,
|
|
18
20
|
TableUtils,
|
|
19
21
|
MenuUtils,
|
|
20
22
|
Popup,
|
|
@@ -265,7 +267,8 @@ sap.ui.define([
|
|
|
265
267
|
* @returns {sap.ui.table.ColumnMenu} The created column menu.
|
|
266
268
|
*/
|
|
267
269
|
LegacyColumnMenuAdapter.prototype._createMenu = function(oColumn) {
|
|
268
|
-
|
|
270
|
+
var ColumnMenuClass = oColumn.isA("sap.ui.table.AnalyticalColumn") ? AnalyticalColumnMenu : ColumnMenu;
|
|
271
|
+
return new ColumnMenuClass(oColumn.getId() + "-menu", {ariaLabelledBy: oColumn});
|
|
269
272
|
};
|
|
270
273
|
|
|
271
274
|
return LegacyColumnMenuAdapter;
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
*
|
|
60
60
|
* @extends sap.ui.table.menus.ColumnHeaderMenuAdapter
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.117.
|
|
62
|
+
* @version 1.117.2
|
|
63
63
|
* @private
|
|
64
64
|
* @alias sap.ui.table.menus.MobileColumnHeaderMenuAdapter
|
|
65
65
|
*/
|
|
@@ -279,7 +279,24 @@ sap.ui.define([
|
|
|
279
279
|
return new QuickGroup({
|
|
280
280
|
items: new QuickGroupItem(),
|
|
281
281
|
change: [function(oEvent) {
|
|
282
|
-
|
|
282
|
+
var bGrouped = oEvent.getParameter("item").getGrouped();
|
|
283
|
+
|
|
284
|
+
if (bGrouped && (!this._oColumn.getShowIfGrouped || !this._oColumn.getShowIfGrouped())) {
|
|
285
|
+
var oTable = this._oColumn._getTable();
|
|
286
|
+
var oDomRef;
|
|
287
|
+
|
|
288
|
+
if (TableUtils.isNoDataVisible(oTable)) {
|
|
289
|
+
oDomRef = oTable.getDomRef("noDataCnt");
|
|
290
|
+
} else {
|
|
291
|
+
oDomRef = oTable.getDomRef("rowsel0");
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
if (oDomRef) {
|
|
295
|
+
oDomRef.focus();
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
this._oColumn._setGrouped(bGrouped);
|
|
283
300
|
}, this]
|
|
284
301
|
});
|
|
285
302
|
};
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
*
|
|
22
22
|
* @class Implements the selection methods for TreeTable and AnalyticalTable
|
|
23
23
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
24
|
-
* @version 1.117.
|
|
24
|
+
* @version 1.117.2
|
|
25
25
|
* @constructor
|
|
26
26
|
* @private
|
|
27
27
|
* @alias sap.ui.table.plugins.BindingSelection
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
*
|
|
24
24
|
* @class Implements the selection methods for a Table
|
|
25
25
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
26
|
-
* @version 1.117.
|
|
26
|
+
* @version 1.117.2
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
29
29
|
* @alias sap.ui.table.plugins.SelectionModelSelection
|
|
@@ -32,7 +32,7 @@ sap.ui.define([
|
|
|
32
32
|
* @class TODO (don't forget to document fixed row count restrictions because fixed rows are set by this plugin)
|
|
33
33
|
* @extends sap.ui.table.plugins.PluginBase
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.117.
|
|
35
|
+
* @version 1.117.2
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.76
|
|
38
38
|
* @experimental
|
|
@@ -35,7 +35,7 @@ sap.ui.define([
|
|
|
35
35
|
* @ui5-restricted sap.ui.mdc
|
|
36
36
|
*
|
|
37
37
|
* @author SAP SE
|
|
38
|
-
* @version 1.117.
|
|
38
|
+
* @version 1.117.2
|
|
39
39
|
*/
|
|
40
40
|
var AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.AutoRowMode", /** @lends sap.ui.table.rowmodes.AutoRowMode.prototype */ {
|
|
41
41
|
metadata: {
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @ui5-restricted sap.ui.mdc
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.117.
|
|
32
|
+
* @version 1.117.2
|
|
33
33
|
*
|
|
34
34
|
*/
|
|
35
35
|
var FixedRowMode = RowMode.extend("sap.ui.table.rowmodes.FixedRowMode", /** @lends sap.ui.table.rowmodes.FixedRowMode.prototype */ {
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
* @ui5-restricted sap.ui.mdc
|
|
34
34
|
*
|
|
35
35
|
* @author SAP SE
|
|
36
|
-
* @version 1.117.
|
|
36
|
+
* @version 1.117.2
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
var InteractiveRowMode = RowMode.extend("sap.ui.table.rowmodes.InteractiveRowMode", /** @lends sap.ui.table.rowmodes.InteractiveRowMode.prototype */ {
|
|
@@ -14,7 +14,7 @@ sap.ui.define([], function() {
|
|
|
14
14
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Binding...</code>
|
|
15
15
|
*
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.117.
|
|
17
|
+
* @version 1.117.2
|
|
18
18
|
* @namespace
|
|
19
19
|
* @alias sap.ui.table.utils._BindingUtils
|
|
20
20
|
* @private
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Column...</code>
|
|
19
19
|
*
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.117.
|
|
21
|
+
* @version 1.117.2
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.table.utils._ColumnUtils
|
|
24
24
|
* @private
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Grouping...</code>
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.117.
|
|
26
|
+
* @version 1.117.2
|
|
27
27
|
* @namespace
|
|
28
28
|
* @alias sap.ui.table.utils._GroupingUtils
|
|
29
29
|
* @private
|
|
@@ -22,7 +22,7 @@ sap.ui.define(["sap/ui/base/DataType"], function(DataType) {
|
|
|
22
22
|
* - There is no concept for public or protected hooks. Never expose a hook directly, only indirectly as can be seen in the examples.
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.117.
|
|
25
|
+
* @version 1.117.2
|
|
26
26
|
* @namespace
|
|
27
27
|
* @alias sap.ui.table.utils._HookUtils
|
|
28
28
|
*
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Menu...</code>
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.117.
|
|
42
|
+
* @version 1.117.2
|
|
43
43
|
* @namespace
|
|
44
44
|
* @alias sap.ui.table.utils._MenuUtils
|
|
45
45
|
* @private
|