@openui5/sap.ui.table 1.113.0 → 1.114.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.
- package/THIRDPARTY.txt +1 -1
- package/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +1 -1
- package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
- 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 +2 -2
- 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 +21 -42
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TableRenderer.js +7 -7
- package/src/sap/ui/table/TreeTable.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +5 -5
- package/src/sap/ui/table/extensions/AccessibilityRender.js +3 -4
- 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 +83 -50
- package/src/sap/ui/table/extensions/Pointer.js +7 -33
- package/src/sap/ui/table/extensions/Scrolling.js +1 -1
- package/src/sap/ui/table/extensions/ScrollingIOS.js +2 -2
- package/src/sap/ui/table/extensions/Synchronization.js +2 -2
- package/src/sap/ui/table/library.js +48 -17
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/plugins/BindingSelection.js +61 -19
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +33 -21
- package/src/sap/ui/table/plugins/ODataV4Selection.js +490 -0
- package/src/sap/ui/table/plugins/PluginBase.js +1 -1
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +71 -24
- package/src/sap/ui/table/plugins/SelectionPlugin.js +47 -160
- package/src/sap/ui/table/plugins/V4Aggregation.js +8 -6
- 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 +21 -64
- 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/THIRDPARTY.txt
CHANGED
|
@@ -478,7 +478,7 @@ License: Apache-2.0
|
|
|
478
478
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
479
479
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
480
480
|
|
|
481
|
-
Component: SAP Theming Base Content, version: 11.
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.3.0
|
|
482
482
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
483
483
|
License: Apache-2.0
|
|
484
484
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.114.1",
|
|
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.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.114.1",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.114.1"
|
|
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.
|
|
9
|
+
<version>1.114.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -135,7 +135,7 @@ sap.ui.define([
|
|
|
135
135
|
* @class
|
|
136
136
|
* The row.
|
|
137
137
|
* @extends sap.ui.core.Element
|
|
138
|
-
* @version 1.
|
|
138
|
+
* @version 1.114.1
|
|
139
139
|
*
|
|
140
140
|
* @constructor
|
|
141
141
|
* @public
|
|
@@ -353,7 +353,7 @@ sap.ui.define([
|
|
|
353
353
|
*/
|
|
354
354
|
Row.prototype._updateSelection = function() {
|
|
355
355
|
var oTable = this.getTable();
|
|
356
|
-
var bIsSelected = oTable._getSelectionPlugin().
|
|
356
|
+
var bIsSelected = oTable._getSelectionPlugin().isSelected(this);
|
|
357
357
|
|
|
358
358
|
this._setSelected(bIsSelected);
|
|
359
359
|
oTable._getAccExtension().updateSelectionStateOfRow(this);
|
|
@@ -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.
|
|
38
|
+
* @version 1.114.1
|
|
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.
|
|
27
|
+
* @version 1.114.1
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -92,7 +92,7 @@ sap.ui.define([
|
|
|
92
92
|
* the data model and binding being used.
|
|
93
93
|
* </p>
|
|
94
94
|
* @extends sap.ui.core.Control
|
|
95
|
-
* @version 1.
|
|
95
|
+
* @version 1.114.1
|
|
96
96
|
*
|
|
97
97
|
* @constructor
|
|
98
98
|
* @public
|
|
@@ -374,7 +374,7 @@ sap.ui.define([
|
|
|
374
374
|
/**
|
|
375
375
|
* Control or text of title section of the Table (if not set it will be hidden)
|
|
376
376
|
*
|
|
377
|
-
* @deprecated As of 1.72. Use, for example, a <code>sap.m.Title</code> control in the <code>extension</code> aggregation instead.
|
|
377
|
+
* @deprecated As of version 1.72. Use, for example, a <code>sap.m.Title</code> control in the <code>extension</code> aggregation instead.
|
|
378
378
|
*/
|
|
379
379
|
title: {type: "sap.ui.core.Control", altTypes: ["string"], multiple: false, deprecated: true},
|
|
380
380
|
|
|
@@ -387,7 +387,7 @@ sap.ui.define([
|
|
|
387
387
|
* Toolbar of the Table
|
|
388
388
|
* If not set, no toolbar area will be rendered.
|
|
389
389
|
* Note: The CSS class sapMTBHeader-CTX is applied on the given toolbar.
|
|
390
|
-
* @deprecated
|
|
390
|
+
* @deprecated As of version 1.38. This aggregation is deprecated, use the <code>extension</code> aggregation instead.
|
|
391
391
|
*/
|
|
392
392
|
toolbar: {type: "sap.ui.core.Toolbar", multiple: false, deprecated: true},
|
|
393
393
|
|
|
@@ -754,7 +754,7 @@ sap.ui.define([
|
|
|
754
754
|
/**
|
|
755
755
|
* fired when the user clicks a cell of the table.
|
|
756
756
|
* @since 1.21.0
|
|
757
|
-
* @deprecated As of 1.54, replaced by <code>beforeOpenContextMenu</code>.
|
|
757
|
+
* @deprecated As of version 1.54, replaced by <code>beforeOpenContextMenu</code>.
|
|
758
758
|
*/
|
|
759
759
|
cellContextmenu: {
|
|
760
760
|
allowPreventDefault: true,
|
|
@@ -3168,7 +3168,7 @@ sap.ui.define([
|
|
|
3168
3168
|
}
|
|
3169
3169
|
|
|
3170
3170
|
if (mRenderConfig.headerSelector.type === "toggle") {
|
|
3171
|
-
var bAllRowsSelected =
|
|
3171
|
+
var bAllRowsSelected = mRenderConfig.headerSelector.selected;
|
|
3172
3172
|
|
|
3173
3173
|
$SelectAll.toggleClass("sapUiTableSelAll", !bAllRowsSelected);
|
|
3174
3174
|
this._getAccExtension().setSelectAllState(bAllRowsSelected);
|
|
@@ -3230,24 +3230,26 @@ sap.ui.define([
|
|
|
3230
3230
|
* @private
|
|
3231
3231
|
*/
|
|
3232
3232
|
Table.prototype._onSelectionChanged = function(oEvent) {
|
|
3233
|
+
this._updateSelection();
|
|
3234
|
+
|
|
3235
|
+
// If a selection plugin is applied to the table, the "rowSelectionChange" event should not be fired.
|
|
3236
|
+
if (this._hasSelectionPlugin()) {
|
|
3237
|
+
return;
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3233
3240
|
var oSelectionPlugin = this._getSelectionPlugin();
|
|
3234
3241
|
var aRowIndices = oEvent.getParameter("rowIndices");
|
|
3235
3242
|
var bSelectAll = oEvent.getParameter("selectAll");
|
|
3236
3243
|
var iRowIndex = this._iSourceRowIndex !== undefined ? this._iSourceRowIndex : oSelectionPlugin.getSelectedIndex();
|
|
3237
3244
|
|
|
3238
|
-
this.
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
rowIndices: aRowIndices,
|
|
3247
|
-
selectAll: bSelectAll,
|
|
3248
|
-
userInteraction: this._iSourceRowIndex !== undefined
|
|
3249
|
-
});
|
|
3250
|
-
}
|
|
3245
|
+
this.setProperty("selectedIndex", oSelectionPlugin.getSelectedIndex(), true);
|
|
3246
|
+
this.fireRowSelectionChange({
|
|
3247
|
+
rowIndex: iRowIndex,
|
|
3248
|
+
rowContext: this.getContextByIndex(iRowIndex),
|
|
3249
|
+
rowIndices: aRowIndices,
|
|
3250
|
+
selectAll: bSelectAll,
|
|
3251
|
+
userInteraction: this._iSourceRowIndex !== undefined
|
|
3252
|
+
});
|
|
3251
3253
|
};
|
|
3252
3254
|
|
|
3253
3255
|
/**
|
|
@@ -3853,7 +3855,7 @@ sap.ui.define([
|
|
|
3853
3855
|
* @param {object} [mSettings] settings for the new Export, see {@link sap.ui.core.util.Export} <code>constructor</code>
|
|
3854
3856
|
* @returns {sap.ui.core.util.Export} Export object
|
|
3855
3857
|
* @experimental Experimental because the property for the column/cell definitions (sortProperty) could change in future.
|
|
3856
|
-
* @deprecated As of 1.56, replaced by the <code>sap.ui.export</code> library.
|
|
3858
|
+
* @deprecated As of version 1.56, replaced by the <code>sap.ui.export</code> library.
|
|
3857
3859
|
* @public
|
|
3858
3860
|
*/
|
|
3859
3861
|
Table.prototype.exportData = function(mSettings) {
|
|
@@ -3942,29 +3944,6 @@ sap.ui.define([
|
|
|
3942
3944
|
}
|
|
3943
3945
|
};
|
|
3944
3946
|
|
|
3945
|
-
/**
|
|
3946
|
-
* Toggles the selection state of all cells.
|
|
3947
|
-
* @private
|
|
3948
|
-
*/
|
|
3949
|
-
Table.prototype._toggleSelectAll = function() {
|
|
3950
|
-
if (!TableUtils.hasData(this) || this.getSelectionMode() !== SelectionMode.MultiToggle) {
|
|
3951
|
-
return;
|
|
3952
|
-
}
|
|
3953
|
-
|
|
3954
|
-
var oSelectionPlugin = this._getSelectionPlugin();
|
|
3955
|
-
|
|
3956
|
-
// in order to fire the rowSelectionChanged event, the SourceRowIndex mus be set to -1
|
|
3957
|
-
// to indicate that the selection was changed by user interaction
|
|
3958
|
-
if (TableUtils.areAllRowsSelected(this)) {
|
|
3959
|
-
this._iSourceRowIndex = -1;
|
|
3960
|
-
oSelectionPlugin.clearSelection();
|
|
3961
|
-
} else {
|
|
3962
|
-
this._iSourceRowIndex = 0;
|
|
3963
|
-
oSelectionPlugin.selectAll();
|
|
3964
|
-
}
|
|
3965
|
-
this._iSourceRowIndex = undefined;
|
|
3966
|
-
};
|
|
3967
|
-
|
|
3968
3947
|
Table.prototype.setBusy = function(bBusy) {
|
|
3969
3948
|
var bOldBusyState = this.getBusy();
|
|
3970
3949
|
var vReturn = Control.prototype.setBusy.call(this, bBusy, "sapUiTableGridCnt");
|
|
@@ -437,7 +437,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
437
437
|
|
|
438
438
|
var sSelectAllResourceTextID;
|
|
439
439
|
if (mRenderConfig.headerSelector.visible) {
|
|
440
|
-
var bAllRowsSelected =
|
|
440
|
+
var bAllRowsSelected = mRenderConfig.headerSelector.selected;
|
|
441
441
|
|
|
442
442
|
if (mRenderConfig.headerSelector.type === "toggle") {
|
|
443
443
|
sSelectAllResourceTextID = bAllRowsSelected ? "TBL_DESELECT_ALL" : "TBL_SELECT_ALL";
|
|
@@ -678,7 +678,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
678
678
|
};
|
|
679
679
|
|
|
680
680
|
TableRenderer.renderRowAddon = function(rm, oTable, oRow, iRowIndex, bHeader) {
|
|
681
|
-
var bRowSelected = oTable._getSelectionPlugin().
|
|
681
|
+
var bRowSelected = oTable._getSelectionPlugin().isSelected(oRow);
|
|
682
682
|
|
|
683
683
|
rm.openStart("div");
|
|
684
684
|
var oRowSettings = oRow.getAggregation("_settings");
|
|
@@ -726,7 +726,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
726
726
|
rm.openEnd();
|
|
727
727
|
if (bHeader) {
|
|
728
728
|
this.writeRowHighlightContent(rm, oTable, oRow, iRowIndex);
|
|
729
|
-
this.writeRowSelectorContent(rm, oTable, oRow
|
|
729
|
+
this.writeRowSelectorContent(rm, oTable, oRow);
|
|
730
730
|
} else {
|
|
731
731
|
var oAction = oRow.getRowAction();
|
|
732
732
|
if (oAction) {
|
|
@@ -948,8 +948,8 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
948
948
|
rm.close("table");
|
|
949
949
|
};
|
|
950
950
|
|
|
951
|
-
TableRenderer.writeRowSelectorContent = function(rm, oTable, oRow
|
|
952
|
-
oTable._getAccRenderExtension().writeAccRowSelectorText(rm, oTable, oRow
|
|
951
|
+
TableRenderer.writeRowSelectorContent = function(rm, oTable, oRow) {
|
|
952
|
+
oTable._getAccRenderExtension().writeAccRowSelectorText(rm, oTable, oRow);
|
|
953
953
|
|
|
954
954
|
if (TableUtils.Grouping.isInGroupMode(oTable)) {
|
|
955
955
|
rm.openStart("div");
|
|
@@ -1105,7 +1105,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
1105
1105
|
if (bDraggable && bFixedTable) {
|
|
1106
1106
|
rm.attr("draggable", true);
|
|
1107
1107
|
}
|
|
1108
|
-
if (oSelectionPlugin.
|
|
1108
|
+
if (oSelectionPlugin.isSelected(oRow)) {
|
|
1109
1109
|
rm.class("sapUiTableRowSel");
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
@@ -1129,7 +1129,7 @@ sap.ui.define(['sap/ui/Device', './library', "./Column", './utils/TableUtils', "
|
|
|
1129
1129
|
|
|
1130
1130
|
rm.openEnd();
|
|
1131
1131
|
|
|
1132
|
-
var bSelected = !oRow.isEmpty() && oSelectionPlugin.
|
|
1132
|
+
var bSelected = !oRow.isEmpty() && oSelectionPlugin.isSelected(oRow); //see TableRenderer.renderRowAddon
|
|
1133
1133
|
var aCells = oRow.getCells();
|
|
1134
1134
|
|
|
1135
1135
|
for (var cell = 0, count = aCells.length; cell < count; cell++) {
|
|
@@ -679,7 +679,7 @@ sap.ui.define([
|
|
|
679
679
|
case AccExtension.ELEMENTTYPES.ROWHEADER:
|
|
680
680
|
mAttributes["role"] = "gridcell";
|
|
681
681
|
mAttributes["aria-colindex"] = 1;
|
|
682
|
-
if (TableUtils.hasRowHeader(oTable) && oTable.
|
|
682
|
+
if (TableUtils.hasRowHeader(oTable) && oTable.getSelectionMode() === SelectionMode.None) {
|
|
683
683
|
mAttributes["aria-labelledby"] = [sTableId + "-rowselecthdr"];
|
|
684
684
|
}
|
|
685
685
|
break;
|
|
@@ -932,7 +932,7 @@ sap.ui.define([
|
|
|
932
932
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
933
933
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
934
934
|
* @author SAP SE
|
|
935
|
-
* @version 1.
|
|
935
|
+
* @version 1.114.1
|
|
936
936
|
* @constructor
|
|
937
937
|
* @private
|
|
938
938
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -1271,7 +1271,7 @@ sap.ui.define([
|
|
|
1271
1271
|
if (!oRow.isEmpty() && !oRow.isGroupHeader() && !oRow.isSummary()) {
|
|
1272
1272
|
var mTooltipTexts = this.getAriaTextsForSelectionMode(true);
|
|
1273
1273
|
var oTable = this.getTable();
|
|
1274
|
-
var bIsSelected = oTable._getSelectionPlugin().
|
|
1274
|
+
var bIsSelected = oTable._getSelectionPlugin().isSelected(oRow);
|
|
1275
1275
|
|
|
1276
1276
|
if ($Ref.row) {
|
|
1277
1277
|
$Ref.row.add($Ref.row.children(".sapUiTableCell")).attr("aria-selected", bIsSelected ? "true" : "false");
|
|
@@ -1409,7 +1409,7 @@ sap.ui.define([
|
|
|
1409
1409
|
}
|
|
1410
1410
|
};
|
|
1411
1411
|
|
|
1412
|
-
var
|
|
1412
|
+
var iSelectedCount = oTable._getSelectionPlugin().getSelectedCount();
|
|
1413
1413
|
|
|
1414
1414
|
if (sSelectionMode === SelectionMode.Single) {
|
|
1415
1415
|
mTooltipTexts.mouse.rowSelect = bShowTooltips ? TableUtils.getResourceText("TBL_ROW_SELECT") : "";
|
|
@@ -1424,7 +1424,7 @@ sap.ui.define([
|
|
|
1424
1424
|
// text for de-select is the same like for single selection
|
|
1425
1425
|
mTooltipTexts.keyboard.rowDeselect = TableUtils.getResourceText("TBL_ROW_DESELECT_KEY");
|
|
1426
1426
|
|
|
1427
|
-
if (bConsiderSelectionState === true &&
|
|
1427
|
+
if (bConsiderSelectionState === true && iSelectedCount === 0) {
|
|
1428
1428
|
// if there is no row selected yet, the selection is like in single selection case
|
|
1429
1429
|
mTooltipTexts.mouse.rowSelect = bShowTooltips ? TableUtils.getResourceText("TBL_ROW_SELECT") : "";
|
|
1430
1430
|
}
|
|
@@ -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.
|
|
45
|
+
* @version 1.114.1
|
|
46
46
|
* @constructor
|
|
47
47
|
* @private
|
|
48
48
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -173,16 +173,15 @@ sap.ui.define([
|
|
|
173
173
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the Render-Output-Buffer.
|
|
174
174
|
* @param {sap.ui.table.Table} oTable Instance of the table.
|
|
175
175
|
* @param {sap.ui.table.Row} oRow Instance of the row.
|
|
176
|
-
* @param {int} iRowIndex The index of the row.
|
|
177
176
|
* @see sap.ui.table.TableRenderer.writeRowSelectorContent
|
|
178
177
|
* @public
|
|
179
178
|
*/
|
|
180
|
-
writeAccRowSelectorText: function(oRm, oTable, oRow
|
|
179
|
+
writeAccRowSelectorText: function(oRm, oTable, oRow) {
|
|
181
180
|
if (!oTable._getAccExtension().getAccMode()) {
|
|
182
181
|
return;
|
|
183
182
|
}
|
|
184
183
|
|
|
185
|
-
var bIsSelected = oTable._getSelectionPlugin().
|
|
184
|
+
var bIsSelected = oTable._getSelectionPlugin().isSelected(oRow);
|
|
186
185
|
var mTooltipTexts = oTable._getAccExtension().getAriaTextsForSelectionMode(true);
|
|
187
186
|
var sText = mTooltipTexts.keyboard[bIsSelected ? "rowDeselect" : "rowSelect"];
|
|
188
187
|
|
|
@@ -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.
|
|
270
|
+
* @version 1.114.1
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|