@openui5/sap.ui.table 1.99.1 → 1.102.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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +5 -5
- package/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +5 -3
- package/src/sap/ui/table/AnalyticalColumnMenu.js +3 -3
- package/src/sap/ui/table/AnalyticalTable.js +2 -6
- package/src/sap/ui/table/Column.js +28 -11
- package/src/sap/ui/table/ColumnMenu.js +6 -8
- package/src/sap/ui/table/CreationRow.js +3 -2
- package/src/sap/ui/table/Row.js +3 -2
- package/src/sap/ui/table/RowAction.js +3 -2
- package/src/sap/ui/table/RowActionItem.js +1 -1
- package/src/sap/ui/table/RowActionRenderer.js +2 -2
- package/src/sap/ui/table/RowSettings.js +1 -1
- package/src/sap/ui/table/Table.js +31 -11
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TableRenderer.js +4 -2
- package/src/sap/ui/table/TreeTable.js +3 -3
- package/src/sap/ui/table/extensions/Accessibility.js +19 -6
- 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 +3 -2
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +4 -4
- package/src/sap/ui/table/library.js +20 -23
- package/src/sap/ui/table/messagebundle_ar.properties +2 -0
- package/src/sap/ui/table/messagebundle_bg.properties +2 -0
- package/src/sap/ui/table/messagebundle_ca.properties +2 -0
- package/src/sap/ui/table/messagebundle_cs.properties +2 -0
- package/src/sap/ui/table/messagebundle_cy.properties +2 -0
- package/src/sap/ui/table/messagebundle_da.properties +2 -0
- package/src/sap/ui/table/messagebundle_de.properties +2 -0
- package/src/sap/ui/table/messagebundle_el.properties +2 -0
- package/src/sap/ui/table/messagebundle_en.properties +2 -0
- package/src/sap/ui/table/messagebundle_en_GB.properties +2 -0
- package/src/sap/ui/table/messagebundle_en_US_saprigi.properties +2 -0
- package/src/sap/ui/table/messagebundle_en_US_saptrc.properties +2 -0
- package/src/sap/ui/table/messagebundle_es.properties +2 -0
- package/src/sap/ui/table/messagebundle_es_MX.properties +2 -0
- package/src/sap/ui/table/messagebundle_et.properties +2 -0
- package/src/sap/ui/table/messagebundle_fi.properties +2 -0
- package/src/sap/ui/table/messagebundle_fr.properties +2 -0
- package/src/sap/ui/table/messagebundle_fr_CA.properties +2 -0
- package/src/sap/ui/table/messagebundle_hi.properties +2 -0
- package/src/sap/ui/table/messagebundle_hr.properties +2 -0
- package/src/sap/ui/table/messagebundle_hu.properties +2 -0
- package/src/sap/ui/table/messagebundle_id.properties +2 -0
- package/src/sap/ui/table/messagebundle_it.properties +2 -0
- package/src/sap/ui/table/messagebundle_iw.properties +2 -0
- package/src/sap/ui/table/messagebundle_ja.properties +2 -0
- package/src/sap/ui/table/messagebundle_kk.properties +2 -0
- package/src/sap/ui/table/messagebundle_ko.properties +2 -0
- package/src/sap/ui/table/messagebundle_lt.properties +2 -0
- package/src/sap/ui/table/messagebundle_lv.properties +2 -0
- package/src/sap/ui/table/messagebundle_ms.properties +2 -0
- package/src/sap/ui/table/messagebundle_nl.properties +2 -0
- package/src/sap/ui/table/messagebundle_no.properties +2 -0
- package/src/sap/ui/table/messagebundle_pl.properties +2 -0
- package/src/sap/ui/table/messagebundle_pt.properties +2 -0
- package/src/sap/ui/table/messagebundle_pt_PT.properties +2 -0
- package/src/sap/ui/table/messagebundle_ro.properties +2 -0
- package/src/sap/ui/table/messagebundle_ru.properties +2 -0
- package/src/sap/ui/table/messagebundle_sh.properties +2 -0
- package/src/sap/ui/table/messagebundle_sk.properties +2 -0
- package/src/sap/ui/table/messagebundle_sl.properties +2 -0
- package/src/sap/ui/table/messagebundle_sv.properties +2 -0
- package/src/sap/ui/table/messagebundle_th.properties +2 -0
- package/src/sap/ui/table/messagebundle_tr.properties +2 -0
- package/src/sap/ui/table/messagebundle_uk.properties +2 -0
- package/src/sap/ui/table/messagebundle_vi.properties +2 -0
- package/src/sap/ui/table/messagebundle_zh_CN.properties +2 -0
- package/src/sap/ui/table/messagebundle_zh_TW.properties +2 -0
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +0 -4
- 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 +5 -3
- 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 -3
- package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
- package/src/sap/ui/table/rules/Rows.support.js +4 -3
- package/src/sap/ui/table/themes/base/Cell.less +1 -0
- package/src/sap/ui/table/themes/base/Grouping.less +10 -0
- package/src/sap/ui/table/themes/base/Table.less +7 -2
- package/src/sap/ui/table/utils/TableUtils.js +19 -5
- package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
- package/src/sap/ui/table/utils/_ColumnUtils.js +2 -9
- package/src/sap/ui/table/utils/_GroupingUtils.js +2 -3
- package/src/sap/ui/table/utils/_HookUtils.js +2 -2
- package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
|
@@ -85,6 +85,8 @@ TBL_CTRL_STATE_DISABLED=\u0E1B\u0E34\u0E14\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19
|
|
|
85
85
|
|
|
86
86
|
TBL_CTRL_STATE_READONLY=\u0E2D\u0E48\u0E32\u0E19\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E40\u0E14\u0E35\u0E22\u0E27
|
|
87
87
|
|
|
88
|
+
TBL_ROW_SELECTION_COLUMN_LABEL=Row Header
|
|
89
|
+
|
|
88
90
|
TBL_ROW_ACTION_COLUMN_LABEL=\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23\u0E41\u0E16\u0E27
|
|
89
91
|
|
|
90
92
|
TBL_ROW_ACTION_NO_ACTION=\u0E44\u0E21\u0E48\u0E21\u0E35\u0E01\u0E32\u0E23\u0E14\u0E33\u0E40\u0E19\u0E34\u0E19\u0E01\u0E32\u0E23
|
|
@@ -85,6 +85,8 @@ TBL_CTRL_STATE_DISABLED=Etkinli\u011Fi kald\u0131r\u0131ld\u0131
|
|
|
85
85
|
|
|
86
86
|
TBL_CTRL_STATE_READONLY=Salt okunur
|
|
87
87
|
|
|
88
|
+
TBL_ROW_SELECTION_COLUMN_LABEL=Row Header
|
|
89
|
+
|
|
88
90
|
TBL_ROW_ACTION_COLUMN_LABEL=H\u00FCcre i\u015Flemleri
|
|
89
91
|
|
|
90
92
|
TBL_ROW_ACTION_NO_ACTION=Kullan\u0131labilir i\u015Flem yok
|
|
@@ -85,6 +85,8 @@ TBL_CTRL_STATE_DISABLED=\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u043E\u0432\u
|
|
|
85
85
|
|
|
86
86
|
TBL_CTRL_STATE_READONLY=\u041B\u0438\u0448\u0435 \u0434\u043B\u044F \u0447\u0438\u0442\u0430\u043D\u043D\u044F
|
|
87
87
|
|
|
88
|
+
TBL_ROW_SELECTION_COLUMN_LABEL=Row Header
|
|
89
|
+
|
|
88
90
|
TBL_ROW_ACTION_COLUMN_LABEL=\u041E\u043F\u0435\u0440\u0430\u0446\u0456\u0457 \u0437 \u0440\u044F\u0434\u043A\u0430\u043C\u0438
|
|
89
91
|
|
|
90
92
|
TBL_ROW_ACTION_NO_ACTION=\u041D\u0435\u043C\u0430\u0454 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u0439
|
|
@@ -85,6 +85,8 @@ TBL_CTRL_STATE_DISABLED=V\u00F4 hi\u00EA\u0323u ho\u0301a
|
|
|
85
85
|
|
|
86
86
|
TBL_CTRL_STATE_READONLY=Chi\u0309 \u0111o\u0323c
|
|
87
87
|
|
|
88
|
+
TBL_ROW_SELECTION_COLUMN_LABEL=Row Header
|
|
89
|
+
|
|
88
90
|
TBL_ROW_ACTION_COLUMN_LABEL=Ha\u0300nh \u0111\u00F4\u0323ng cu\u0309a ha\u0300ng
|
|
89
91
|
|
|
90
92
|
TBL_ROW_ACTION_NO_ACTION=Kh\u00F4ng co\u0301 s\u0103\u0303n ha\u0300nh \u0111\u00F4\u0323ng na\u0300o
|
|
@@ -85,6 +85,8 @@ TBL_CTRL_STATE_DISABLED=\u5DF2\u505C\u7528
|
|
|
85
85
|
|
|
86
86
|
TBL_CTRL_STATE_READONLY=\u552F\u8B80
|
|
87
87
|
|
|
88
|
+
TBL_ROW_SELECTION_COLUMN_LABEL=Row Header
|
|
89
|
+
|
|
88
90
|
TBL_ROW_ACTION_COLUMN_LABEL=\u5217\u52D5\u4F5C
|
|
89
91
|
|
|
90
92
|
TBL_ROW_ACTION_NO_ACTION=\u6C92\u6709\u53EF\u7528\u7684\u52D5\u4F5C
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
*
|
|
23
23
|
* @class Implements the selection methods for TreeTable and AnalyticalTable
|
|
24
24
|
* @extends sap.ui.table.plugins.SelectionPlugin
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.102.0
|
|
26
26
|
* @constructor
|
|
27
27
|
* @private
|
|
28
28
|
* @alias sap.ui.table.plugins.BindingSelection
|
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"./SelectionPlugin",
|
|
8
|
-
"./SelectionModelSelection",
|
|
9
|
-
"./BindingSelection",
|
|
10
8
|
"../library",
|
|
11
9
|
"../utils/TableUtils",
|
|
12
10
|
"sap/ui/core/Icon",
|
|
@@ -14,8 +12,6 @@ sap.ui.define([
|
|
|
14
12
|
"sap/base/Log"
|
|
15
13
|
], function(
|
|
16
14
|
SelectionPlugin,
|
|
17
|
-
SelectionModelSelectionPlugin,
|
|
18
|
-
BindingSelectionPlugin,
|
|
19
15
|
library,
|
|
20
16
|
TableUtils,
|
|
21
17
|
Icon,
|
|
@@ -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.
|
|
26
|
+
* @version 1.102.0
|
|
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.
|
|
35
|
+
* @version 1.102.0
|
|
36
36
|
* @private
|
|
37
37
|
* @since 1.76
|
|
38
38
|
* @experimental
|
|
@@ -7,12 +7,14 @@ sap.ui.define([
|
|
|
7
7
|
"../library",
|
|
8
8
|
"../utils/TableUtils",
|
|
9
9
|
"./RowMode",
|
|
10
|
-
"sap/ui/Device"
|
|
10
|
+
"sap/ui/Device",
|
|
11
|
+
"sap/ui/thirdparty/jquery"
|
|
11
12
|
], function(
|
|
12
13
|
library,
|
|
13
14
|
TableUtils,
|
|
14
15
|
RowMode,
|
|
15
|
-
Device
|
|
16
|
+
Device,
|
|
17
|
+
jQuery
|
|
16
18
|
) {
|
|
17
19
|
"use strict";
|
|
18
20
|
|
|
@@ -33,7 +35,7 @@ sap.ui.define([
|
|
|
33
35
|
* @ui5-restricted sap.ui.mdc
|
|
34
36
|
*
|
|
35
37
|
* @author SAP SE
|
|
36
|
-
* @version 1.
|
|
38
|
+
* @version 1.102.0
|
|
37
39
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
38
40
|
*/
|
|
39
41
|
var AutoRowMode = RowMode.extend("sap.ui.table.rowmodes.AutoRowMode", /** @lends sap.ui.table.rowmodes.AutoRowMode.prototype */ {
|
|
@@ -7,13 +7,11 @@ sap.ui.define([
|
|
|
7
7
|
"../library",
|
|
8
8
|
"../utils/TableUtils",
|
|
9
9
|
"sap/ui/core/Element",
|
|
10
|
-
"sap/base/Log",
|
|
11
10
|
"sap/ui/thirdparty/jquery"
|
|
12
11
|
], function(
|
|
13
12
|
library,
|
|
14
13
|
TableUtils,
|
|
15
14
|
Element,
|
|
16
|
-
Log,
|
|
17
15
|
jQuery
|
|
18
16
|
) {
|
|
19
17
|
"use strict";
|
|
@@ -36,7 +34,7 @@ sap.ui.define([
|
|
|
36
34
|
* @ui5-restricted sap.ui.mdc
|
|
37
35
|
*
|
|
38
36
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
37
|
+
* @version 1.102.0
|
|
40
38
|
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
41
39
|
*/
|
|
42
40
|
var RowMode = Element.extend("sap.ui.table.rowmodes.RowMode", /** @lends sap.ui.table.rowmodes.RowMode.prototype */ {
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
sap.ui.define([
|
|
7
7
|
"./TableHelper.support",
|
|
8
8
|
"sap/ui/support/library",
|
|
9
|
-
"sap/ui/Device"
|
|
10
|
-
|
|
9
|
+
"sap/ui/Device",
|
|
10
|
+
"sap/ui/thirdparty/jquery"
|
|
11
|
+
], function(SupportHelper, SupportLibrary, Device, jQuery) {
|
|
11
12
|
"use strict";
|
|
12
13
|
|
|
13
14
|
var Categories = SupportLibrary.Categories;
|
|
@@ -38,7 +39,7 @@ sap.ui.define([
|
|
|
38
39
|
resolution: "Ensure that either only the 'Cozy' or 'Compact' content density is used, or the 'Condensed' and 'Compact' content densities"
|
|
39
40
|
+ " are used in combination.",
|
|
40
41
|
resolutionurls: [
|
|
41
|
-
SupportHelper.createDocuRef("Documentation: Content Densities", "
|
|
42
|
+
SupportHelper.createDocuRef("Documentation: Content Densities", "topic/e54f729da8e3405fae5e4fe8ae7784c1")
|
|
42
43
|
],
|
|
43
44
|
check: function(oIssueManager, oCoreFacade, oScope) {
|
|
44
45
|
var $Document = jQuery("html");
|
|
@@ -204,6 +204,16 @@ html[dir=rtl] {
|
|
|
204
204
|
outline: 0;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
+
.sapUiTableGroupHeaderRow > .sapUiTableContentCell {
|
|
208
|
+
box-sizing: border-box;
|
|
209
|
+
border-top: 1px solid @sapList_TableGroupHeaderBorderColor;
|
|
210
|
+
border-bottom: 1px solid @sapList_TableGroupHeaderBorderColor;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.sapUiTableGroupHeaderRow:first-child > .sapUiTableContentCell {
|
|
214
|
+
border-top: 0;
|
|
215
|
+
}
|
|
216
|
+
|
|
207
217
|
.sapUiTableGroupMode .sapUiTableTr.sapUiTableGroupHeaderRow > .sapUiTableCellDummy {
|
|
208
218
|
background-color: @_sap_ui_table_Grouping_GroupHeaderBackground;
|
|
209
219
|
}
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
@_sap_ui_table_Table_FooterPaddingLeft: 1rem;
|
|
11
11
|
@_sap_ui_table_Table_FooterPaddingRight: 1rem;
|
|
12
12
|
@_sap_ui_table_Table_TableHeaderBorderWidth: @_sap_ui_table_BaseBorderWidth;
|
|
13
|
-
@_sap_ui_table_Table_TableHeaderBorderColor: @sapUiListVerticalBorderColor;
|
|
14
13
|
|
|
15
14
|
// Can be used in other themes to add styles for which there are no style definitions in the base theme and therefore no theme parameters.
|
|
16
15
|
._sap_ui_table_Table_TitleContainer() {}
|
|
@@ -164,6 +163,12 @@
|
|
|
164
163
|
}
|
|
165
164
|
}
|
|
166
165
|
|
|
166
|
+
.sapUiTableCtrlEmpty > .sapMIllustratedMessage {
|
|
167
|
+
position: absolute;
|
|
168
|
+
top: 50%;
|
|
169
|
+
transform: translate(0, -50%);
|
|
170
|
+
}
|
|
171
|
+
|
|
167
172
|
.sapUiTableOverlayArea {
|
|
168
173
|
background-color: transparent;
|
|
169
174
|
z-index: 12;
|
|
@@ -245,7 +250,7 @@
|
|
|
245
250
|
overflow: hidden;
|
|
246
251
|
white-space: nowrap;
|
|
247
252
|
min-height: @_sap_ui_table_ColumnHeaderHeight;
|
|
248
|
-
border-bottom: @_sap_ui_table_Table_TableHeaderBorderWidth solid @
|
|
253
|
+
border-bottom: @_sap_ui_table_Table_TableHeaderBorderWidth solid @sapList_HeaderBorderColor;
|
|
249
254
|
color: @sapUiListTextColor;
|
|
250
255
|
}
|
|
251
256
|
|
|
@@ -203,7 +203,7 @@ sap.ui.define([
|
|
|
203
203
|
* Static collection of utility functions related to the sap.ui.table.Table, ...
|
|
204
204
|
*
|
|
205
205
|
* @author SAP SE
|
|
206
|
-
* @version 1.
|
|
206
|
+
* @version 1.102.0
|
|
207
207
|
* @namespace
|
|
208
208
|
* @alias sap.ui.table.utils.TableUtils
|
|
209
209
|
* @private
|
|
@@ -478,7 +478,21 @@ sap.ui.define([
|
|
|
478
478
|
}
|
|
479
479
|
},
|
|
480
480
|
|
|
481
|
-
|
|
481
|
+
/**
|
|
482
|
+
* Gets the message to be displayed if the table contains no columns or no data.
|
|
483
|
+
*
|
|
484
|
+
* @param oTable Instance of the table.
|
|
485
|
+
* @returns {Control | string} The no data control or text message.
|
|
486
|
+
*/
|
|
487
|
+
getNoContentMessage: function(oTable) {
|
|
488
|
+
if (oTable._getVisibleColumns().length > 0) {
|
|
489
|
+
return oTable.getNoData();
|
|
490
|
+
} else {
|
|
491
|
+
return oTable.getAggregation("_noColumnsMessage");
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
|
|
495
|
+
/**
|
|
482
496
|
* Gets the text to be displayed as the "no data text".
|
|
483
497
|
* If a control is set for the <code>noData</code> aggregation, <code>null</code> is returned.
|
|
484
498
|
*
|
|
@@ -486,12 +500,12 @@ sap.ui.define([
|
|
|
486
500
|
* @returns {string | null} The no data text.
|
|
487
501
|
*/
|
|
488
502
|
getNoDataText: function(oTable) {
|
|
489
|
-
|
|
503
|
+
var vNoData = oTable.getNoData();
|
|
504
|
+
|
|
505
|
+
if (TableUtils.getVisibleColumnCount(oTable) === 0 && !TableUtils.isA(vNoData, "sap.m.IllustratedMessage")) {
|
|
490
506
|
return TableUtils.getResourceText("TBL_NO_COLUMNS");
|
|
491
507
|
}
|
|
492
508
|
|
|
493
|
-
var vNoData = oTable.getNoData();
|
|
494
|
-
|
|
495
509
|
if (TableUtils.isA(vNoData, "sap.ui.core.Control")) {
|
|
496
510
|
return null;
|
|
497
511
|
} else if (typeof vNoData === "string") {
|
|
@@ -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.
|
|
17
|
+
* @version 1.102.0
|
|
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.
|
|
21
|
+
* @version 1.102.0
|
|
22
22
|
* @namespace
|
|
23
23
|
* @alias sap.ui.table.utils._ColumnUtils
|
|
24
24
|
* @private
|
|
@@ -551,14 +551,7 @@ sap.ui.define([
|
|
|
551
551
|
* @returns {int} The minimal possible column width in pixels.
|
|
552
552
|
*/
|
|
553
553
|
getMinColumnWidth: function() {
|
|
554
|
-
|
|
555
|
-
return this._iColMinWidth;
|
|
556
|
-
}
|
|
557
|
-
this._iColMinWidth = 48;
|
|
558
|
-
if (!Device.system.desktop) {
|
|
559
|
-
this._iColMinWidth = 88;
|
|
560
|
-
}
|
|
561
|
-
return this._iColMinWidth;
|
|
554
|
+
return Device.system.desktop ? 48 : 88;
|
|
562
555
|
},
|
|
563
556
|
|
|
564
557
|
/**
|
|
@@ -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.
|
|
26
|
+
* @version 1.102.0
|
|
27
27
|
* @namespace
|
|
28
28
|
* @alias sap.ui.table.utils._GroupingUtils
|
|
29
29
|
* @private
|
|
@@ -356,9 +356,8 @@ sap.ui.define([
|
|
|
356
356
|
},
|
|
357
357
|
|
|
358
358
|
/**
|
|
359
|
-
* Cleanup the
|
|
359
|
+
* Cleanup the DOM changes previously done by <code>updateTableRowForGrouping</code>.
|
|
360
360
|
*
|
|
361
|
-
* @param {sap.ui.table.Table} oTable Instance of the table
|
|
362
361
|
* @param {sap.ui.table.Row} oRow Instance of the row
|
|
363
362
|
*/
|
|
364
363
|
cleanupTableRowForGrouping: function(oRow) {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides helper sap.ui.table.utils._HookUtils.
|
|
8
|
-
sap.ui.define(["sap/ui/base/DataType"
|
|
8
|
+
sap.ui.define(["sap/ui/base/DataType"], function(DataType) {
|
|
9
9
|
"use strict";
|
|
10
10
|
|
|
11
11
|
var Hooks = new window.WeakMap();
|
|
@@ -22,7 +22,7 @@ sap.ui.define(["sap/ui/base/DataType", "sap/base/Log"], function(DataType, Log)
|
|
|
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.
|
|
25
|
+
* @version 1.102.0
|
|
26
26
|
* @namespace
|
|
27
27
|
* @alias sap.ui.table.utils._HookUtils
|
|
28
28
|
*
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* Note: Do not access the functions of this helper directly, but via <code>sap.ui.table.utils.TableUtils.Menu...</code>
|
|
43
43
|
*
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.102.0
|
|
46
46
|
* @namespace
|
|
47
47
|
* @alias sap.ui.table.utils._MenuUtils
|
|
48
48
|
* @private
|