@openui5/sap.ui.table 1.102.2 → 1.104.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.
Files changed (97) hide show
  1. package/.eslintrc.json +2 -3
  2. package/.reuse/dep5 +17 -0
  3. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  4. package/THIRDPARTY.txt +35 -2
  5. package/package.json +3 -3
  6. package/src/sap/ui/table/.library +1 -1
  7. package/src/sap/ui/table/AnalyticalColumn.js +1 -1
  8. package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
  9. package/src/sap/ui/table/AnalyticalTable.js +1 -1
  10. package/src/sap/ui/table/Column.js +1 -1
  11. package/src/sap/ui/table/ColumnMenu.js +1 -1
  12. package/src/sap/ui/table/CreationRow.js +1 -1
  13. package/src/sap/ui/table/Row.js +1 -1
  14. package/src/sap/ui/table/RowAction.js +1 -1
  15. package/src/sap/ui/table/RowActionItem.js +1 -1
  16. package/src/sap/ui/table/RowSettings.js +1 -1
  17. package/src/sap/ui/table/Table.js +47 -61
  18. package/src/sap/ui/table/TablePersoController.js +1 -1
  19. package/src/sap/ui/table/TableRenderer.js +16 -0
  20. package/src/sap/ui/table/TreeTable.js +1 -1
  21. package/src/sap/ui/table/extensions/Accessibility.js +4 -1
  22. package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
  23. package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
  24. package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
  25. package/src/sap/ui/table/extensions/Keyboard.js +1 -1
  26. package/src/sap/ui/table/extensions/KeyboardDelegate.js +1 -1
  27. package/src/sap/ui/table/extensions/Pointer.js +1 -1
  28. package/src/sap/ui/table/extensions/Scrolling.js +2 -3
  29. package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
  30. package/src/sap/ui/table/extensions/Synchronization.js +1 -1
  31. package/src/sap/ui/table/library.js +10 -10
  32. package/src/sap/ui/table/messagebundle.properties +3 -0
  33. package/src/sap/ui/table/messagebundle_ar.properties +1 -1
  34. package/src/sap/ui/table/messagebundle_bg.properties +1 -1
  35. package/src/sap/ui/table/messagebundle_ca.properties +1 -1
  36. package/src/sap/ui/table/messagebundle_cs.properties +1 -1
  37. package/src/sap/ui/table/messagebundle_cy.properties +1 -1
  38. package/src/sap/ui/table/messagebundle_da.properties +1 -1
  39. package/src/sap/ui/table/messagebundle_de.properties +1 -1
  40. package/src/sap/ui/table/messagebundle_el.properties +1 -1
  41. package/src/sap/ui/table/messagebundle_en_US_sappsd.properties +2 -0
  42. package/src/sap/ui/table/messagebundle_es.properties +9 -9
  43. package/src/sap/ui/table/messagebundle_es_MX.properties +1 -1
  44. package/src/sap/ui/table/messagebundle_et.properties +1 -1
  45. package/src/sap/ui/table/messagebundle_fi.properties +1 -1
  46. package/src/sap/ui/table/messagebundle_fr.properties +2 -2
  47. package/src/sap/ui/table/messagebundle_fr_CA.properties +1 -1
  48. package/src/sap/ui/table/messagebundle_hi.properties +1 -1
  49. package/src/sap/ui/table/messagebundle_hr.properties +2 -2
  50. package/src/sap/ui/table/messagebundle_hu.properties +1 -1
  51. package/src/sap/ui/table/messagebundle_id.properties +1 -1
  52. package/src/sap/ui/table/messagebundle_it.properties +1 -1
  53. package/src/sap/ui/table/messagebundle_iw.properties +1 -1
  54. package/src/sap/ui/table/messagebundle_ja.properties +1 -1
  55. package/src/sap/ui/table/messagebundle_kk.properties +1 -1
  56. package/src/sap/ui/table/messagebundle_ko.properties +1 -1
  57. package/src/sap/ui/table/messagebundle_lt.properties +1 -1
  58. package/src/sap/ui/table/messagebundle_lv.properties +1 -1
  59. package/src/sap/ui/table/messagebundle_ms.properties +1 -1
  60. package/src/sap/ui/table/messagebundle_nl.properties +1 -1
  61. package/src/sap/ui/table/messagebundle_no.properties +3 -3
  62. package/src/sap/ui/table/messagebundle_pl.properties +1 -1
  63. package/src/sap/ui/table/messagebundle_pt.properties +1 -1
  64. package/src/sap/ui/table/messagebundle_pt_PT.properties +1 -1
  65. package/src/sap/ui/table/messagebundle_ro.properties +1 -1
  66. package/src/sap/ui/table/messagebundle_ru.properties +1 -1
  67. package/src/sap/ui/table/messagebundle_sh.properties +1 -1
  68. package/src/sap/ui/table/messagebundle_sk.properties +1 -1
  69. package/src/sap/ui/table/messagebundle_sl.properties +1 -1
  70. package/src/sap/ui/table/messagebundle_sv.properties +1 -1
  71. package/src/sap/ui/table/messagebundle_th.properties +1 -1
  72. package/src/sap/ui/table/messagebundle_tr.properties +1 -1
  73. package/src/sap/ui/table/messagebundle_uk.properties +1 -1
  74. package/src/sap/ui/table/messagebundle_vi.properties +1 -1
  75. package/src/sap/ui/table/messagebundle_zh_CN.properties +1 -1
  76. package/src/sap/ui/table/messagebundle_zh_TW.properties +1 -1
  77. package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
  78. package/src/sap/ui/table/plugins/PluginBase.js +1 -1
  79. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  80. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  81. package/src/sap/ui/table/plugins/V4Aggregation.js +2 -2
  82. package/src/sap/ui/table/rowmodes/AutoRowMode.js +2 -60
  83. package/src/sap/ui/table/rowmodes/FixedRowMode.js +2 -67
  84. package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -7
  85. package/src/sap/ui/table/rowmodes/RowMode.js +5 -3
  86. package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
  87. package/src/sap/ui/table/rules/Rows.support.js +2 -2
  88. package/src/sap/ui/table/themes/base/Cell.less +10 -2
  89. package/src/sap/ui/table/themes/base/Grouping.less +0 -1
  90. package/src/sap/ui/table/themes/base/RowSelection.less +1 -1
  91. package/src/sap/ui/table/themes/base/Scrolling.less +18 -18
  92. package/src/sap/ui/table/utils/TableUtils.js +1 -1
  93. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  94. package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
  95. package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
  96. package/src/sap/ui/table/utils/_HookUtils.js +1 -1
  97. package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
package/.eslintrc.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "overrides": [
3
3
  /*
4
- * Productive code, sample and unit test code of sap.ui.table has been cleaned up.
4
+ * Productive code and test code of sap.ui.table has been cleaned up.
5
5
  * No more references to the global jQuery allowed
6
6
  */
7
7
  {
8
8
  "files": [
9
9
  "src/**/*.js",
10
- "test/sap/ui/table/demokit/**/*.js",
11
- "test/sap/ui/table/qunit/**/*.js"
10
+ "test/**/*.js"
12
11
  ],
13
12
  "globals": {
14
13
  "jQuery": "off"
package/.reuse/dep5 CHANGED
@@ -137,6 +137,11 @@ Copyright: jQuery Foundation and other contributors
137
137
  License: MIT
138
138
  Comment: these files belong to: QUnit 2
139
139
 
140
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
141
+ Copyright: jQuery Foundation and other contributors
142
+ License: MIT
143
+ Comment: these files belong to: QUnit 2.18
144
+
140
145
  Files: src/sap.ui.core/src/sap/ui/thirdparty/jquery-compat.js
141
146
  Copyright: OpenJS Foundation and other contributors
142
147
  License: MIT
@@ -234,6 +239,11 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
234
239
  License: BSD-3-Clause
235
240
  Comment: these files belong to: SinonJS
236
241
 
242
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
243
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
244
+ License: BSD-3-Clause
245
+ Comment: these files belong to: SinonJS 14
246
+
237
247
  Files: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
238
248
  Copyright: 2010-2011, Christian Johansen
239
249
  License: BSD-3-Clause
@@ -339,6 +349,13 @@ Copyright:
339
349
  License: Apache-2.0 and ISC
340
350
  Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
341
351
 
352
+ Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
353
+ Copyright:
354
+ 2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
355
+ Arthur David Olson, Paul Eggert and other contributors
356
+ License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
357
+ Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
358
+
342
359
 
343
360
  # Library: sap.ui.documentation:
344
361
 
@@ -0,0 +1,5 @@
1
+ Unless specified below, all files in the tz code and data (including
2
+ this LICENSE file) are in the public domain.
3
+
4
+ If the files date.c, newstrftime.3, and strftime.c are present, they
5
+ contain material derived from BSD and use the BSD 3-clause license.
package/THIRDPARTY.txt CHANGED
@@ -76,6 +76,12 @@ License: MIT
76
76
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
77
77
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
78
78
 
79
+ Component: QUnit 2.18, version: 2.18.0
80
+ Copyright: jQuery Foundation and other contributors
81
+ License: MIT
82
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
83
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
84
+
79
85
  Component: jQuery-Migrate, version: 3.3.1
80
86
  Copyright: OpenJS Foundation and other contributors
81
87
  License: MIT
@@ -191,13 +197,19 @@ License: BSD-3-Clause
191
197
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
192
198
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-4.js
193
199
 
200
+ Component: SinonJS 14, version: 14.0.0
201
+ Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
202
+ License: BSD-3-Clause
203
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
204
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
205
+
194
206
  Component: Sinon-qunit, version: 2.0.0
195
207
  Copyright: 2010-2011, Christian Johansen
196
208
  License: BSD-3-Clause
197
209
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
198
210
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
199
211
 
200
- Component: URI.js, version: 1.19.10
212
+ Component: URI.js, version: 1.19.11
201
213
  Copyright: Rodney Rehm
202
214
  License: MIT
203
215
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
@@ -315,6 +327,12 @@ License: ISC
315
327
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
316
328
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
317
329
 
330
+ Component: Time Zone Database, version: 2022a
331
+ Copyright: Arthur David Olson, Paul Eggert and other contributors
332
+ License: LicenseRef-tzdata-PublicDomain
333
+ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
334
+ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
335
+
318
336
 
319
337
  Library: sap.ui.documentation:
320
338
 
@@ -450,7 +468,7 @@ License: Apache-2.0
450
468
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
469
  Contained in: lib/jsdoc/ui5/plugin.js
452
470
 
453
- Component: SAP Theming Base Content, version: 11.1.39
471
+ Component: SAP Theming Base Content, version: 11.1.40
454
472
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
473
  License: Apache-2.0
456
474
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -980,6 +998,21 @@ END of license: LicenseRef-JSONinJSPublicDomain
980
998
  =================================
981
999
 
982
1000
 
1001
+ =================================
1002
+ BEGIN of license: LicenseRef-tzdata-PublicDomain
1003
+ =================================
1004
+
1005
+ Unless specified below, all files in the tz code and data (including
1006
+ this LICENSE file) are in the public domain.
1007
+
1008
+ If the files date.c, newstrftime.3, and strftime.c are present, they
1009
+ contain material derived from BSD and use the BSD 3-clause license.
1010
+
1011
+ =================================
1012
+ END of license: LicenseRef-tzdata-PublicDomain
1013
+ =================================
1014
+
1015
+
983
1016
  =================================
984
1017
  BEGIN of license: MIT
985
1018
  =================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.table",
3
- "version": "1.102.2",
3
+ "version": "1.104.0",
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.102.2",
18
- "@openui5/sap.ui.unified": "1.102.2"
17
+ "@openui5/sap.ui.core": "1.104.0",
18
+ "@openui5/sap.ui.unified": "1.104.0"
19
19
  }
20
20
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.102.2</version>
9
+ <version>1.104.0</version>
10
10
 
11
11
  <documentation>Table-like controls, mainly for desktop scenarios.</documentation>
12
12
 
@@ -46,7 +46,7 @@ sap.ui.define([
46
46
  * @extends sap.ui.table.Column
47
47
  *
48
48
  * @author SAP SE
49
- * @version 1.102.2
49
+ * @version 1.104.0
50
50
  *
51
51
  * @constructor
52
52
  * @public
@@ -23,7 +23,7 @@ sap.ui.define(['./ColumnMenu', "sap/ui/unified/MenuRenderer", './library', "sap/
23
23
  * @extends sap.ui.table.ColumnMenu
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.102.2
26
+ * @version 1.104.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -56,7 +56,7 @@ sap.ui.define([
56
56
  * @see http://scn.sap.com/docs/DOC-44986
57
57
  *
58
58
  * @extends sap.ui.table.Table
59
- * @version 1.102.2
59
+ * @version 1.104.0
60
60
  *
61
61
  * @constructor
62
62
  * @public
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * @class
69
69
  * The column allows you to define column specific properties that will be applied when rendering the table.
70
70
  * @extends sap.ui.core.Element
71
- * @version 1.102.2
71
+ * @version 1.104.0
72
72
  *
73
73
  * @constructor
74
74
  * @public
@@ -39,7 +39,7 @@ sap.ui.define([
39
39
  * @class
40
40
  * The column menu provides all common actions that can be performed on a column.
41
41
  * @extends sap.ui.unified.Menu
42
- * @version 1.102.2
42
+ * @version 1.104.0
43
43
  *
44
44
  * @constructor
45
45
  * @public
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * <code>sap.ui.commons</code> library.
33
33
  * @extends sap.ui.core.Control
34
34
  * @author SAP SE
35
- * @version 1.102.2
35
+ * @version 1.104.0
36
36
  *
37
37
  * @constructor
38
38
  * @private
@@ -135,7 +135,7 @@ sap.ui.define([
135
135
  * @class
136
136
  * The row.
137
137
  * @extends sap.ui.core.Element
138
- * @version 1.102.2
138
+ * @version 1.104.0
139
139
  *
140
140
  * @constructor
141
141
  * @public
@@ -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.102.2
38
+ * @version 1.104.0
39
39
  *
40
40
  * @constructor
41
41
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.102.2
27
+ * @version 1.104.0
28
28
  * @since 1.45
29
29
  *
30
30
  * @constructor
@@ -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.102.2
27
+ * @version 1.104.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -4,25 +4,24 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- // Provides control sap.ui.table.Table.
8
7
  sap.ui.define([
9
- 'sap/ui/Device',
10
- 'sap/ui/core/Control',
11
- 'sap/ui/core/util/PasteHelper',
12
- 'sap/ui/model/ChangeReason',
13
- 'sap/ui/model/Filter',
14
- 'sap/ui/model/Sorter',
15
- 'sap/ui/model/BindingMode',
16
- './Column',
17
- './Row',
18
- './library',
19
- './utils/TableUtils',
20
- './extensions/ExtensionBase',
21
- './extensions/Accessibility',
22
- './extensions/Keyboard',
23
- './extensions/Pointer',
24
- './extensions/Scrolling',
25
- './extensions/DragAndDrop',
8
+ "sap/ui/Device",
9
+ "sap/ui/core/Control",
10
+ "sap/ui/core/util/PasteHelper",
11
+ "sap/ui/model/ChangeReason",
12
+ "sap/ui/model/Filter",
13
+ "sap/ui/model/Sorter",
14
+ "sap/ui/model/BindingMode",
15
+ "./Column",
16
+ "./Row",
17
+ "./library",
18
+ "./utils/TableUtils",
19
+ "./extensions/ExtensionBase",
20
+ "./extensions/Accessibility",
21
+ "./extensions/Keyboard",
22
+ "./extensions/Pointer",
23
+ "./extensions/Scrolling",
24
+ "./extensions/DragAndDrop",
26
25
  "./TableRenderer",
27
26
  "./rowmodes/FixedRowMode",
28
27
  "./rowmodes/InteractiveRowMode",
@@ -30,33 +29,32 @@ sap.ui.define([
30
29
  "./plugins/SelectionModelSelection",
31
30
  "sap/ui/thirdparty/jquery",
32
31
  "sap/base/Log"
33
- ],
34
- function(
35
- Device,
36
- Control,
37
- PasteHelper,
38
- ChangeReason,
39
- Filter,
40
- Sorter,
41
- BindingMode,
42
- Column,
43
- Row,
44
- library,
45
- TableUtils,
46
- ExtensionBase,
47
- AccExtension,
48
- KeyboardExtension,
49
- PointerExtension,
50
- ScrollExtension,
51
- DragAndDropExtension,
52
- TableRenderer,
53
- FixedRowMode,
54
- InteractiveRowMode,
55
- AutoRowMode,
56
- SelectionModelSelectionPlugin,
57
- jQuery,
58
- Log
59
- ) {
32
+ ], function(
33
+ Device,
34
+ Control,
35
+ PasteHelper,
36
+ ChangeReason,
37
+ Filter,
38
+ Sorter,
39
+ BindingMode,
40
+ Column,
41
+ Row,
42
+ library,
43
+ TableUtils,
44
+ ExtensionBase,
45
+ AccExtension,
46
+ KeyboardExtension,
47
+ PointerExtension,
48
+ ScrollExtension,
49
+ DragAndDropExtension,
50
+ TableRenderer,
51
+ FixedRowMode,
52
+ InteractiveRowMode,
53
+ AutoRowMode,
54
+ SelectionModelSelectionPlugin,
55
+ jQuery,
56
+ Log
57
+ ) {
60
58
  "use strict";
61
59
 
62
60
  var GroupEventType = library.GroupEventType;
@@ -92,7 +90,7 @@ sap.ui.define([
92
90
  * the data model and binding being used.
93
91
  * </p>
94
92
  * @extends sap.ui.core.Control
95
- * @version 1.102.2
93
+ * @version 1.104.0
96
94
  *
97
95
  * @constructor
98
96
  * @public
@@ -103,7 +101,6 @@ sap.ui.define([
103
101
  * @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
104
102
  */
105
103
  var Table = Control.extend("sap.ui.table.Table", /** @lends sap.ui.table.Table.prototype */ { metadata : {
106
-
107
104
  library : "sap.ui.table",
108
105
  dnd : true,
109
106
  properties : {
@@ -1387,10 +1384,6 @@ sap.ui.define([
1387
1384
  Array.prototype.forEach.call(aScrollRowItems, updateRow);
1388
1385
  };
1389
1386
 
1390
- /**
1391
- * Rerendering handling
1392
- * @private
1393
- */
1394
1387
  Table.prototype.onBeforeRendering = function(oEvent) {
1395
1388
  // The table can be re-rendered as part of the rendering of its parent, without being invalidated before.
1396
1389
  this._bInvalid = true;
@@ -1402,14 +1395,9 @@ sap.ui.define([
1402
1395
  }
1403
1396
 
1404
1397
  this._cleanUpTimers();
1405
- this.getBinding(); // Initializes the experimental grouping functionality (just in case it is required).
1406
1398
  this._aTableHeaders = []; // free references to DOM elements
1407
1399
  };
1408
1400
 
1409
- /**
1410
- * Rerendering handling
1411
- * @private
1412
- */
1413
1401
  Table.prototype.onAfterRendering = function(oEvent) {
1414
1402
  var bRenderedRows = oEvent && oEvent.isMarked("renderRows");
1415
1403
 
@@ -1436,7 +1424,6 @@ sap.ui.define([
1436
1424
  }
1437
1425
 
1438
1426
  this._updateTableSizes(TableUtils.RowsUpdateReason.Render, true);
1439
- this._adjustFirstVisibleRowToTotalRowCount(); // The number of rendered rows might have changed.
1440
1427
  TableUtils.registerResizeHandler(this, "Table", this._onTableResize.bind(this));
1441
1428
 
1442
1429
  this._bFirstRendering = false;
@@ -1693,7 +1680,6 @@ sap.ui.define([
1693
1680
  // PUBLIC TABLE API
1694
1681
  // =============================================================================
1695
1682
 
1696
-
1697
1683
  /*
1698
1684
  * @see JSDoc generated by SAPUI5 control API generator
1699
1685
  */
@@ -2050,7 +2036,7 @@ sap.ui.define([
2050
2036
  * Converts old binding configuration APIs to the new API.
2051
2037
  *
2052
2038
  * @param {...*} [args] Binding configuration arguments.
2053
- * @returns {Object|null} The binding info object or null.
2039
+ * @returns {object|null} The binding info object or null.
2054
2040
  * @private
2055
2041
  */
2056
2042
  function getSanitizedBindingInfo(args) {
@@ -2486,7 +2472,7 @@ sap.ui.define([
2486
2472
  };
2487
2473
 
2488
2474
  function createVirtualRow(oTable) {
2489
- var oVirtualContext = oTable._getRowContexts(null, true)[0];
2475
+ var oVirtualContext = oTable._getRowContexts()[0];
2490
2476
 
2491
2477
  destroyVirtualRow(oTable);
2492
2478
  oTable._oVirtualRow = oTable._getRowClone("virtual");
@@ -3224,7 +3210,7 @@ sap.ui.define([
3224
3210
  * the currently visible scroll area.
3225
3211
  *
3226
3212
  * @param {int} iIndex Index of the row to return the context from.
3227
- * @returns {sap.ui.model.Context | null} The context at this index or null
3213
+ * @returns {sap.ui.model.Context | null} The context at this index or <code>null</code>
3228
3214
  * @public
3229
3215
  * @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
3230
3216
  */
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.base.ManagedObject
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.102.2
33
+ * @version 1.104.0
34
34
  * @since 1.21.1
35
35
  *
36
36
  * @constructor
@@ -483,6 +483,14 @@ sap.ui.define(['sap/ui/core/Control', 'sap/ui/Device', './library', "./Column",
483
483
  }
484
484
  }
485
485
 
486
+ if (TableUtils.hasRowHeader(oTable) && oTable._getSelectionPlugin()._getSelectionMode() === library.SelectionMode.None) {
487
+ rm.openStart("span", oTable.getId() + "-rowselecthdr");
488
+ rm.class("sapUiPseudoInvisibleText");
489
+ rm.openEnd();
490
+ rm.text(TableUtils.getResourceText("TBL_ROW_SELECTION_COLUMN_LABEL"));
491
+ rm.close("span");
492
+ }
493
+
486
494
  rm.close("div");
487
495
  };
488
496
 
@@ -571,6 +579,10 @@ sap.ui.define(['sap/ui/core/Control', 'sap/ui/Device', './library', "./Column",
571
579
  rm.openStart("div", sHeaderId + "-inner");
572
580
  rm.class("sapUiTableCellInner");
573
581
 
582
+ if (!TableUtils.hasRowHeader(oTable) && bIsFirstColumn && !TableUtils.hasRowHighlights(oTable) && !TableUtils.Grouping.isInTreeMode(oTable)) {
583
+ rm.class("sapUiTableFirstColumnCell");
584
+ }
585
+
574
586
  var sHAlign = oColumn.getHAlign();
575
587
  var sTextAlign = Renderer.getTextAlign(sHAlign);
576
588
 
@@ -1181,6 +1193,10 @@ sap.ui.define(['sap/ui/core/Control', 'sap/ui/Device', './library', "./Column",
1181
1193
  rm.openStart("div");
1182
1194
  rm.class("sapUiTableCellInner");
1183
1195
 
1196
+ if (!TableUtils.hasRowHeader(oTable) && bIsFirstColumn && !TableUtils.hasRowHighlights(oTable) && !TableUtils.Grouping.isInTreeMode(oTable)) {
1197
+ rm.class("sapUiTableFirstColumnCell");
1198
+ }
1199
+
1184
1200
  oTable._getRowMode().renderCellContentStyles(rm);
1185
1201
 
1186
1202
  rm.openEnd();
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @class
41
41
  * The TreeTable control provides a comprehensive set of features to display hierarchical data.
42
42
  * @extends sap.ui.table.Table
43
- * @version 1.102.2
43
+ * @version 1.104.0
44
44
  *
45
45
  * @constructor
46
46
  * @public
@@ -668,6 +668,9 @@ sap.ui.define([
668
668
  case AccExtension.ELEMENTTYPES.ROWHEADER:
669
669
  mAttributes["role"] = "gridcell";
670
670
  mAttributes["aria-colindex"] = 1;
671
+ if (TableUtils.hasRowHeader(oTable) && oTable._getSelectionPlugin()._getSelectionMode() === SelectionMode.None) {
672
+ mAttributes["aria-labelledby"] = [sTableId + "-rowselecthdr"];
673
+ }
671
674
  break;
672
675
 
673
676
  case AccExtension.ELEMENTTYPES.ROWACTION:
@@ -920,7 +923,7 @@ sap.ui.define([
920
923
  * @class Extension for sap.ui.table.Table which handles ACC related things.
921
924
  * @extends sap.ui.table.extensions.ExtensionBase
922
925
  * @author SAP SE
923
- * @version 1.102.2
926
+ * @version 1.104.0
924
927
  * @constructor
925
928
  * @private
926
929
  * @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.102.2
45
+ * @version 1.104.0
46
46
  * @constructor
47
47
  * @private
48
48
  * @alias sap.ui.table.extensions.AccessibilityRender
@@ -244,7 +244,7 @@ sap.ui.define([
244
244
  *
245
245
  * @extends sap.ui.table.extensions.ExtensionBase
246
246
  * @author SAP SE
247
- * @version 1.102.2
247
+ * @version 1.104.0
248
248
  * @constructor
249
249
  * @private
250
250
  * @alias sap.ui.table.extensions.DragAndDrop
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @abstract
20
20
  * @extends sap.ui.base.Object
21
21
  * @author SAP SE
22
- * @version 1.102.2
22
+ * @version 1.104.0
23
23
  * @constructor
24
24
  * @private
25
25
  * @alias sap.ui.table.extensions.ExtensionBase
@@ -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.102.2
270
+ * @version 1.104.0
271
271
  * @constructor
272
272
  * @private
273
273
  * @alias sap.ui.table.extensions.Keyboard
@@ -64,7 +64,7 @@ sap.ui.define([
64
64
  *
65
65
  * @extends sap.ui.base.Object
66
66
  * @author SAP SE
67
- * @version 1.102.2
67
+ * @version 1.104.0
68
68
  * @constructor
69
69
  * @private
70
70
  * @alias sap.ui.table.extensions.KeyboardDelegate
@@ -796,7 +796,7 @@ sap.ui.define([
796
796
  * @class Extension for sap.ui.table.Table which handles mouse and touch related things.
797
797
  * @extends sap.ui.table.extensions.ExtensionBase
798
798
  * @author SAP SE
799
- * @version 1.102.2
799
+ * @version 1.104.0
800
800
  * @constructor
801
801
  * @private
802
802
  * @alias sap.ui.table.extensions.Pointer
@@ -2112,10 +2112,9 @@ sap.ui.define([
2112
2112
  if (bRenderedRows) {
2113
2113
  oScrollExtension.updateVerticalScrollbarHeight();
2114
2114
  oScrollExtension.updateVerticalScrollHeight();
2115
- } else {
2116
- VerticalScrollingHelper.restoreScrollPosition(this, this.getBinding() != null);
2117
2115
  }
2118
2116
 
2117
+ VerticalScrollingHelper.restoreScrollPosition(this, this.getBinding() != null);
2119
2118
  HorizontalScrollingHelper.restoreScrollPosition(this);
2120
2119
  },
2121
2120
 
@@ -2257,7 +2256,7 @@ sap.ui.define([
2257
2256
  * @class Extension for sap.ui.table.Table which handles scrolling.
2258
2257
  * @extends sap.ui.table.extensions.ExtensionBase
2259
2258
  * @author SAP SE
2260
- * @version 1.102.2
2259
+ * @version 1.104.0
2261
2260
  * @constructor
2262
2261
  * @private
2263
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.102.2
30
+ * @version 1.104.0
31
31
  * @constructor
32
32
  * @private
33
33
  * @alias sap.ui.table.extensions.ScrollingIOS
@@ -142,7 +142,7 @@ sap.ui.define([
142
142
  * @class Extension for sap.ui.table.Table that allows synchronization with a table.
143
143
  * @extends sap.ui.table.extensions.ExtensionBase
144
144
  * @author SAP SE
145
- * @version 1.102.2
145
+ * @version 1.104.0
146
146
  * @constructor
147
147
  * @private
148
148
  * @alias sap.ui.table.extensions.Synchronization