@openui5/sap.ui.table 1.108.2 → 1.110.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 +21 -1
- package/.reuse/dep5 +16 -16
- package/THIRDPARTY.txt +2 -2
- package/package.json +3 -3
- package/src/sap/ui/table/.library +2 -2
- package/src/sap/ui/table/AnalyticalColumn.js +11 -12
- package/src/sap/ui/table/AnalyticalColumnMenu.js +4 -5
- package/src/sap/ui/table/AnalyticalColumnMenuRenderer.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +14 -14
- package/src/sap/ui/table/AnalyticalTableRenderer.js +1 -1
- package/src/sap/ui/table/Column.js +44 -46
- package/src/sap/ui/table/ColumnMenu.js +5 -17
- package/src/sap/ui/table/ColumnMenuRenderer.js +2 -2
- package/src/sap/ui/table/CreationRow.js +3 -3
- package/src/sap/ui/table/CreationRowRenderer.js +1 -1
- package/src/sap/ui/table/Row.js +18 -18
- package/src/sap/ui/table/RowAction.js +2 -2
- package/src/sap/ui/table/RowActionItem.js +13 -11
- package/src/sap/ui/table/RowActionRenderer.js +1 -1
- package/src/sap/ui/table/RowSettings.js +6 -6
- package/src/sap/ui/table/Table.js +162 -168
- package/src/sap/ui/table/TablePersoController.js +4 -6
- package/src/sap/ui/table/TableRenderer.js +12 -14
- package/src/sap/ui/table/TreeTable.js +16 -18
- package/src/sap/ui/table/TreeTableRenderer.js +1 -1
- package/src/sap/ui/table/designtime/AnalyticalTable.designtime.js +8 -8
- package/src/sap/ui/table/designtime/Table.designtime.js +10 -10
- package/src/sap/ui/table/designtime/library.designtime.js +1 -1
- package/src/sap/ui/table/extensions/Accessibility.js +4 -4
- package/src/sap/ui/table/extensions/AccessibilityRender.js +2 -2
- 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 +3 -3
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +7 -4
- package/src/sap/ui/table/extensions/Pointer.js +24 -19
- package/src/sap/ui/table/extensions/Scrolling.js +2 -2
- package/src/sap/ui/table/extensions/ScrollingIOS.js +4 -4
- package/src/sap/ui/table/extensions/Synchronization.js +2 -2
- package/src/sap/ui/table/library.js +39 -43
- package/src/sap/ui/table/library.support.js +1 -1
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +2 -3
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +7 -5
- package/src/sap/ui/table/messagebundle.properties +2 -5
- package/src/sap/ui/table/messagebundle_ar.properties +1 -3
- package/src/sap/ui/table/messagebundle_bg.properties +1 -3
- package/src/sap/ui/table/messagebundle_ca.properties +1 -3
- package/src/sap/ui/table/messagebundle_cs.properties +1 -3
- package/src/sap/ui/table/messagebundle_cy.properties +1 -3
- package/src/sap/ui/table/messagebundle_da.properties +1 -3
- package/src/sap/ui/table/messagebundle_de.properties +1 -3
- package/src/sap/ui/table/messagebundle_el.properties +1 -3
- package/src/sap/ui/table/messagebundle_en.properties +1 -3
- package/src/sap/ui/table/messagebundle_en_GB.properties +1 -3
- package/src/sap/ui/table/messagebundle_en_US_sappsd.properties +1 -3
- package/src/sap/ui/table/messagebundle_en_US_saprigi.properties +1 -3
- package/src/sap/ui/table/messagebundle_en_US_saptrc.properties +1 -3
- package/src/sap/ui/table/messagebundle_es.properties +1 -3
- package/src/sap/ui/table/messagebundle_es_MX.properties +1 -3
- package/src/sap/ui/table/messagebundle_et.properties +1 -3
- package/src/sap/ui/table/messagebundle_fi.properties +1 -3
- package/src/sap/ui/table/messagebundle_fr.properties +1 -3
- package/src/sap/ui/table/messagebundle_fr_CA.properties +1 -3
- package/src/sap/ui/table/messagebundle_hi.properties +1 -3
- package/src/sap/ui/table/messagebundle_hr.properties +1 -3
- package/src/sap/ui/table/messagebundle_hu.properties +1 -3
- package/src/sap/ui/table/messagebundle_id.properties +1 -3
- package/src/sap/ui/table/messagebundle_it.properties +1 -3
- package/src/sap/ui/table/messagebundle_iw.properties +1 -3
- package/src/sap/ui/table/messagebundle_ja.properties +1 -3
- package/src/sap/ui/table/messagebundle_kk.properties +2 -4
- package/src/sap/ui/table/messagebundle_ko.properties +1 -3
- package/src/sap/ui/table/messagebundle_lt.properties +1 -3
- package/src/sap/ui/table/messagebundle_lv.properties +1 -3
- package/src/sap/ui/table/messagebundle_ms.properties +1 -3
- package/src/sap/ui/table/messagebundle_nl.properties +1 -3
- package/src/sap/ui/table/messagebundle_no.properties +1 -3
- package/src/sap/ui/table/messagebundle_pl.properties +1 -3
- package/src/sap/ui/table/messagebundle_pt.properties +1 -3
- package/src/sap/ui/table/messagebundle_pt_PT.properties +1 -3
- package/src/sap/ui/table/messagebundle_ro.properties +1 -3
- package/src/sap/ui/table/messagebundle_ru.properties +1 -3
- package/src/sap/ui/table/messagebundle_sh.properties +1 -3
- package/src/sap/ui/table/messagebundle_sk.properties +1 -3
- package/src/sap/ui/table/messagebundle_sl.properties +1 -3
- package/src/sap/ui/table/messagebundle_sv.properties +1 -3
- package/src/sap/ui/table/messagebundle_th.properties +1 -3
- package/src/sap/ui/table/messagebundle_tr.properties +1 -3
- package/src/sap/ui/table/messagebundle_uk.properties +1 -3
- package/src/sap/ui/table/messagebundle_vi.properties +1 -3
- package/src/sap/ui/table/messagebundle_zh_CN.properties +1 -3
- package/src/sap/ui/table/messagebundle_zh_TW.properties +1 -3
- package/src/sap/ui/table/plugins/BindingSelection.js +2 -2
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +15 -15
- package/src/sap/ui/table/plugins/PluginBase.js +2 -2
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +2 -2
- package/src/sap/ui/table/plugins/SelectionPlugin.js +2 -2
- package/src/sap/ui/table/plugins/V4Aggregation.js +2 -2
- package/src/sap/ui/table/rowmodes/AutoRowMode.js +2 -2
- package/src/sap/ui/table/rowmodes/FixedRowMode.js +2 -2
- package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +3 -3
- package/src/sap/ui/table/rowmodes/RowMode.js +2 -2
- package/src/sap/ui/table/rowmodes/VariableRowMode.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 +31 -0
- package/src/sap/ui/table/themes/base/Row.less +5 -0
- package/src/sap/ui/table/themes/base/library.source.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/_BindingUtils.js +2 -2
- package/src/sap/ui/table/utils/_ColumnUtils.js +3 -3
- package/src/sap/ui/table/utils/_GroupingUtils.js +3 -3
- 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 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.110.0
|
|
96
96
|
*
|
|
97
97
|
* @constructor
|
|
98
98
|
* @public
|
|
@@ -101,15 +101,15 @@ sap.ui.define([
|
|
|
101
101
|
* @see {@link topic:148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
|
|
102
102
|
* @see {@link fiori:/grid-table/ Grid Table}
|
|
103
103
|
*/
|
|
104
|
-
var Table = Control.extend("sap.ui.table.Table", /** @lends sap.ui.table.Table.prototype */ {
|
|
105
|
-
library
|
|
106
|
-
dnd
|
|
107
|
-
properties
|
|
104
|
+
var Table = Control.extend("sap.ui.table.Table", /** @lends sap.ui.table.Table.prototype */ {metadata: {
|
|
105
|
+
library: "sap.ui.table",
|
|
106
|
+
dnd: true,
|
|
107
|
+
properties: {
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Width of the Table.
|
|
111
111
|
*/
|
|
112
|
-
width
|
|
112
|
+
width: {type: "sap.ui.core.CSSSize", group: "Dimension", defaultValue: 'auto'},
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* Row height in pixel.
|
|
@@ -126,7 +126,7 @@ sap.ui.define([
|
|
|
126
126
|
* If no value is set (includes 0), a default height is applied based on the content density configuration. In any
|
|
127
127
|
* <code>visibleRowCountMode</code>, the actual height can increase based on the content.
|
|
128
128
|
*/
|
|
129
|
-
rowHeight
|
|
129
|
+
rowHeight: {type: "int", group: "Appearance", defaultValue: null},
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* Header row height in pixel. If a value greater than 0 is set, it overrides the height defined in the <code>rowHeight</code> property
|
|
@@ -136,7 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
* <b>Note</b>: In a {@link sap.ui.table.Column#getMultiLabels MultiLabel} scenario, the height is applied to each individual row of the
|
|
137
137
|
* table's header.
|
|
138
138
|
*/
|
|
139
|
-
columnHeaderHeight
|
|
139
|
+
columnHeaderHeight: {type: "int", group: "Appearance", defaultValue: null},
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* Flag whether the column header is visible or not.
|
|
@@ -144,17 +144,17 @@ sap.ui.define([
|
|
|
144
144
|
* <b>Caution:</b> Please be aware that when setting this property to <code>false</code>,
|
|
145
145
|
* a 100% accessibility of the table can't be guaranteed any more.
|
|
146
146
|
*/
|
|
147
|
-
columnHeaderVisible
|
|
147
|
+
columnHeaderVisible: {type: "boolean", group: "Appearance", defaultValue: true},
|
|
148
148
|
|
|
149
149
|
/**
|
|
150
150
|
* Number of visible rows of the table.
|
|
151
151
|
*/
|
|
152
|
-
visibleRowCount
|
|
152
|
+
visibleRowCount: {type: "int", group: "Appearance", defaultValue: 10},
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* First visible row.
|
|
156
156
|
*/
|
|
157
|
-
firstVisibleRow
|
|
157
|
+
firstVisibleRow: {type: "int", group: "Appearance", defaultValue: 0},
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
160
|
* Selection mode of the Table. This property controls whether single or multiple rows can be selected and
|
|
@@ -164,7 +164,7 @@ sap.ui.define([
|
|
|
164
164
|
* functionality (depends on table type) is enabled, even if <code>sap.ui.table.SelectionMode.None</code> is set.
|
|
165
165
|
* <b>Note:</b> If a selection plugin is applied to the table, the selection mode is controlled by the plugin.
|
|
166
166
|
*/
|
|
167
|
-
selectionMode
|
|
167
|
+
selectionMode: {type: "sap.ui.table.SelectionMode", group: "Behavior", defaultValue: SelectionMode.MultiToggle},
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* Selection behavior of the Table. This property defines whether the row selector is displayed and whether the row, the row selector or
|
|
@@ -172,7 +172,7 @@ sap.ui.define([
|
|
|
172
172
|
* <b>Note:</b> Since the group header visualization relies on the row selectors, the row selectors are always shown if the grouping
|
|
173
173
|
* functionality (depends on table type) is enabled, even if <code>sap.ui.table.SelectionBehavior.RowOnly</code> is set.
|
|
174
174
|
*/
|
|
175
|
-
selectionBehavior
|
|
175
|
+
selectionBehavior: {type: "sap.ui.table.SelectionBehavior", group: "Behavior", defaultValue: SelectionBehavior.RowSelector},
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* Zero-based index of selected item. Index value for no selection is -1.
|
|
@@ -185,19 +185,19 @@ sap.ui.define([
|
|
|
185
185
|
* @deprecated As of version 1.69, replaced by {@link sap.ui.table.Table#getSelectedIndices} and
|
|
186
186
|
* {@link sap.ui.table.Table#setSelectedIndex}
|
|
187
187
|
*/
|
|
188
|
-
selectedIndex
|
|
188
|
+
selectedIndex: {type: "int", group: "Appearance", defaultValue: -1, deprecated: true},
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* Flag whether the controls of the Table are editable or not (currently this only controls the background color in certain themes!)
|
|
192
192
|
*/
|
|
193
|
-
editable
|
|
193
|
+
editable: {type: "boolean", group: "Behavior", defaultValue: true},
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
196
|
* This property has been deprecated and must not be used anymore, since <code>Scrollbar</code> is the only supported option.
|
|
197
197
|
*
|
|
198
198
|
* @deprecated As of version 1.38
|
|
199
199
|
*/
|
|
200
|
-
navigationMode
|
|
200
|
+
navigationMode: {type: "sap.ui.table.NavigationMode", group: "Behavior", defaultValue: NavigationMode.Scrollbar, deprecated: true},
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Defines how many additional (not yet visible) data records from the back-end system are pre-fetched to enable smooth scrolling.
|
|
@@ -207,12 +207,12 @@ sap.ui.define([
|
|
|
207
207
|
* fixed rows), this number is used as the <code>threshold</code>.
|
|
208
208
|
* If the value is 0, thresholding is disabled.
|
|
209
209
|
*/
|
|
210
|
-
threshold
|
|
210
|
+
threshold: {type: "int", group: "Appearance", defaultValue: 100},
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* Flag to enable or disable column reordering
|
|
214
214
|
*/
|
|
215
|
-
enableColumnReordering
|
|
215
|
+
enableColumnReordering: {type: "boolean", group: "Behavior", defaultValue: true},
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
218
|
* Enables or disables grouping. If grouping is enabled, the table is grouped by the column which is defined
|
|
@@ -230,22 +230,22 @@ sap.ui.define([
|
|
|
230
230
|
* column or grouping is disabled.</li>
|
|
231
231
|
* </ul>
|
|
232
232
|
*
|
|
233
|
-
* @experimental As of 1.28. This feature has a limited functionality.
|
|
234
233
|
* @see sap.ui.table.Table#setGroupBy
|
|
234
|
+
* @deprecated As of version 1.110, this feature has a limited functionality and should not be used anymore.
|
|
235
235
|
*/
|
|
236
|
-
enableGrouping
|
|
236
|
+
enableGrouping: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
237
237
|
|
|
238
238
|
/**
|
|
239
239
|
* Flag to show or hide the column visibility menu. This menu will get displayed in each
|
|
240
240
|
* generated column header menu. It allows to show or hide columns
|
|
241
241
|
*/
|
|
242
|
-
showColumnVisibilityMenu
|
|
242
|
+
showColumnVisibilityMenu: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
245
|
* Flag whether to show the no data overlay or not once the table is empty. If set to false
|
|
246
246
|
* the table will just show a grid of empty cells
|
|
247
247
|
*/
|
|
248
|
-
showNoData
|
|
248
|
+
showNoData: {type: "boolean", group: "Appearance", defaultValue: true},
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
251
|
* Defines how the table handles the visible rows in the table.
|
|
@@ -267,13 +267,13 @@ sap.ui.define([
|
|
|
267
267
|
*
|
|
268
268
|
* @since 1.9.2
|
|
269
269
|
*/
|
|
270
|
-
visibleRowCountMode
|
|
270
|
+
visibleRowCountMode: {type: "sap.ui.table.VisibleRowCountMode", group: "Appearance", defaultValue: VisibleRowCountMode.Fixed},
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
273
|
* This property is used to set the minimum count of visible rows when the property visibleRowCountMode is set to Auto or Interactive.
|
|
274
274
|
* For any other visibleRowCountMode, it is ignored.
|
|
275
275
|
*/
|
|
276
|
-
minAutoRowCount
|
|
276
|
+
minAutoRowCount: {type: "int", group: "Appearance", defaultValue: 5},
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Number of columns that are fixed on the left. Only columns which are not fixed can be scrolled horizontally.
|
|
@@ -285,14 +285,14 @@ sap.ui.define([
|
|
|
285
285
|
* property and adapts the behavior in an appropriate way to ensure that the user is still able to scroll horizontally.</li>
|
|
286
286
|
* </ul>
|
|
287
287
|
*/
|
|
288
|
-
fixedColumnCount
|
|
288
|
+
fixedColumnCount: {type: "int", group: "Appearance", defaultValue: 0},
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
291
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not fixed, will scroll.
|
|
292
292
|
*
|
|
293
293
|
* This property is only supported if the <code>rows</code> aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
294
294
|
*/
|
|
295
|
-
fixedRowCount
|
|
295
|
+
fixedRowCount: {type: "int", group: "Appearance", defaultValue: 0},
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
298
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are not fixed, will scroll.
|
|
@@ -301,39 +301,39 @@ sap.ui.define([
|
|
|
301
301
|
*
|
|
302
302
|
* @since 1.18.7
|
|
303
303
|
*/
|
|
304
|
-
fixedBottomRowCount
|
|
304
|
+
fixedBottomRowCount: {type: "int", group: "Appearance", defaultValue: 0},
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* Flag whether to show or hide the column menu item to freeze or unfreeze a column.
|
|
308
308
|
* @since 1.21.0
|
|
309
309
|
*/
|
|
310
|
-
enableColumnFreeze
|
|
310
|
+
enableColumnFreeze: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* Flag whether to enable or disable the context menu on cells to trigger a filtering with the cell value.
|
|
314
314
|
* @since 1.21.0
|
|
315
315
|
*/
|
|
316
|
-
enableCellFilter
|
|
316
|
+
enableCellFilter: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
319
|
* Setting this property to true will show an overlay on top of the Table content and users cannot click anymore on the Table content.
|
|
320
320
|
* @since 1.21.2
|
|
321
321
|
*/
|
|
322
|
-
showOverlay
|
|
322
|
+
showOverlay: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
323
323
|
|
|
324
324
|
/**
|
|
325
325
|
* Specifies if a select all button should be displayed in the top left corner. This button is only displayed
|
|
326
326
|
* if the row selector is visible and the selection mode is set to any kind of multi selection.
|
|
327
327
|
* @since 1.23.0
|
|
328
328
|
*/
|
|
329
|
-
enableSelectAll
|
|
329
|
+
enableSelectAll: {type: "boolean", group: "Behavior", defaultValue: true},
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
332
|
* Set this parameter to true to implement your own filter behaviour. Instead of the filter input box a button
|
|
333
333
|
* will be rendered for which' press event (customFilter) you can register an event handler.
|
|
334
334
|
* @since 1.23.0
|
|
335
335
|
*/
|
|
336
|
-
enableCustomFilter
|
|
336
|
+
enableCustomFilter: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
337
337
|
|
|
338
338
|
/**
|
|
339
339
|
* If set to <code>true</code>, the table changes its busy state, resulting in showing or hiding the busy indicator.
|
|
@@ -342,21 +342,21 @@ sap.ui.define([
|
|
|
342
342
|
* The busy state of the table can still be set manually by calling {@link sap.ui.core.Control#setBusy}.
|
|
343
343
|
* @since 1.27.0
|
|
344
344
|
*/
|
|
345
|
-
enableBusyIndicator
|
|
345
|
+
enableBusyIndicator: {type: "boolean", group: "Behavior", defaultValue: false},
|
|
346
346
|
|
|
347
347
|
/**
|
|
348
348
|
* Number of row actions made visible which determines the width of the row action column.
|
|
349
349
|
* The values <code>0</code>, <code>1</code> and <code>2</code> are possible.
|
|
350
350
|
* @since 1.45.0
|
|
351
351
|
*/
|
|
352
|
-
rowActionCount
|
|
352
|
+
rowActionCount: {type: "int", group: "Appearance", defaultValue: 0},
|
|
353
353
|
|
|
354
354
|
/**
|
|
355
355
|
* Enables alternating table row colors.
|
|
356
356
|
* Alternate row coloring is not available for the tree mode.
|
|
357
357
|
* @since 1.52
|
|
358
358
|
*/
|
|
359
|
-
alternateRowColors
|
|
359
|
+
alternateRowColors: {type: "boolean", group: "Appearance", defaultValue: false},
|
|
360
360
|
|
|
361
361
|
/**
|
|
362
362
|
* Constraints on the row counts of the table. May impact the result of the row count computation in the row modes.
|
|
@@ -366,22 +366,22 @@ sap.ui.define([
|
|
|
366
366
|
* @see sap.ui.table.rowmodes.RowMode#getRowCountConstraints
|
|
367
367
|
* @private
|
|
368
368
|
*/
|
|
369
|
-
rowCountConstraints
|
|
369
|
+
rowCountConstraints: {type: "object", visibility: "hidden"}
|
|
370
370
|
},
|
|
371
|
-
defaultAggregation
|
|
372
|
-
aggregations
|
|
371
|
+
defaultAggregation: "columns",
|
|
372
|
+
aggregations: {
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
375
|
* Control or text of title section of the Table (if not set it will be hidden)
|
|
376
376
|
*
|
|
377
377
|
* @deprecated As of 1.72. Use the <code>extension</code> aggregation instead.
|
|
378
378
|
*/
|
|
379
|
-
title
|
|
379
|
+
title: {type: "sap.ui.core.Control", altTypes: ["string"], multiple: false, deprecated: true},
|
|
380
380
|
|
|
381
381
|
/**
|
|
382
382
|
* Control or text of footer section of the Table (if not set it will be hidden)
|
|
383
383
|
*/
|
|
384
|
-
footer
|
|
384
|
+
footer: {type: "sap.ui.core.Control", altTypes: ["string"], multiple: false},
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
387
|
* Toolbar of the Table
|
|
@@ -389,19 +389,19 @@ sap.ui.define([
|
|
|
389
389
|
* Note: The CSS class sapMTBHeader-CTX is applied on the given toolbar.
|
|
390
390
|
* @deprecated Since version 1.38. This aggregation is deprecated, use the <code>extension</code> aggregation instead.
|
|
391
391
|
*/
|
|
392
|
-
toolbar
|
|
392
|
+
toolbar: {type: "sap.ui.core.Toolbar", multiple: false, deprecated: true},
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* Extension section of the Table.
|
|
396
396
|
* If not set, no extension area will be rendered.
|
|
397
397
|
* Note: In case a <code>sap.m.Toolbar</code> is used as header the CSS class sapMTBHeader-CTX should be applied on this toolbar.
|
|
398
398
|
*/
|
|
399
|
-
extension
|
|
399
|
+
extension: {type: "sap.ui.core.Control", multiple: true, singularName: "extension"},
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* Columns of the Table
|
|
403
403
|
*/
|
|
404
|
-
columns
|
|
404
|
+
columns: {type: "sap.ui.table.Column", multiple: true, singularName: "column", bindable: "bindable", dnd: {layout: "Horizontal"}},
|
|
405
405
|
|
|
406
406
|
/**
|
|
407
407
|
* This aggregation is managed by the table itself. It can only be used with data binding, is read-only, and does not support templates or
|
|
@@ -418,7 +418,7 @@ sap.ui.define([
|
|
|
418
418
|
* Furthermore, row-specific settings can be defined with the {@link sap.ui.table.Table#setRowSettingsTemplate rowSettingsTemplate}
|
|
419
419
|
* aggregation of the table.
|
|
420
420
|
*/
|
|
421
|
-
rows
|
|
421
|
+
rows: {type: "sap.ui.table.Row", multiple: true, singularName: "row", bindable: "bindable", selector: "#{id}-tableCCnt", dnd: true},
|
|
422
422
|
|
|
423
423
|
// TODO: should row modes be implemented as plugins?
|
|
424
424
|
// TODO: The type should be sap.ui.table.rowmodes.RowMode, but then the build fails because RowMode is a private class.
|
|
@@ -428,7 +428,7 @@ sap.ui.define([
|
|
|
428
428
|
* @private
|
|
429
429
|
* @ui5-restricted sap.ui.mdc
|
|
430
430
|
*/
|
|
431
|
-
rowMode
|
|
431
|
+
rowMode: {type: "sap.ui.core.Element", multiple: false, visibility: "hidden"},
|
|
432
432
|
|
|
433
433
|
/**
|
|
434
434
|
* This row can be used for user input to create new data.
|
|
@@ -439,14 +439,14 @@ sap.ui.define([
|
|
|
439
439
|
* @private
|
|
440
440
|
* @ui5-restricted sap.ui.mdc
|
|
441
441
|
*/
|
|
442
|
-
creationRow
|
|
442
|
+
creationRow: {type: "sap.ui.core.Control", multiple: false, visibility: "hidden"},
|
|
443
443
|
|
|
444
444
|
/**
|
|
445
445
|
* The value for the noData aggregation can be either a string value or a control instance.
|
|
446
446
|
* The control is shown, in case there is no data for the Table available. In case of a string
|
|
447
447
|
* value this will simply replace the no data text.
|
|
448
448
|
*/
|
|
449
|
-
noData
|
|
449
|
+
noData: {type: "sap.ui.core.Control", altTypes: ["string"], multiple: false},
|
|
450
450
|
|
|
451
451
|
/**
|
|
452
452
|
* The control that is shown in case the Table has no visible columns.
|
|
@@ -454,21 +454,21 @@ sap.ui.define([
|
|
|
454
454
|
* @private
|
|
455
455
|
* @ui5-restricted sap.ui.mdc, sap.ui.comp
|
|
456
456
|
*/
|
|
457
|
-
_noColumnsMessage: {type
|
|
457
|
+
_noColumnsMessage: {type: "sap.ui.core.Control", multiple: false, visibility: "hidden"},
|
|
458
458
|
|
|
459
459
|
/**
|
|
460
460
|
* Template for row actions. A template is decoupled from the row or table. Each time
|
|
461
461
|
* the template's properties or aggregations are changed, the template has to be applied again via
|
|
462
462
|
* <code>setRowActionTemplate</code> for the changes to take effect.
|
|
463
463
|
*/
|
|
464
|
-
rowActionTemplate
|
|
464
|
+
rowActionTemplate: {type: "sap.ui.table.RowAction", multiple: false},
|
|
465
465
|
|
|
466
466
|
/**
|
|
467
467
|
* Template for row settings. A template is decoupled from the row or table. Each time
|
|
468
468
|
* the template's properties or aggregations are changed, the template has to be applied again via
|
|
469
469
|
* <code>setRowSettingsTemplate</code> for the changes to take effect.
|
|
470
470
|
*/
|
|
471
|
-
rowSettingsTemplate
|
|
471
|
+
rowSettingsTemplate: {type: "sap.ui.table.RowSettings", multiple: false},
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
474
|
* Defines the context menu for the table.
|
|
@@ -481,7 +481,7 @@ sap.ui.define([
|
|
|
481
481
|
*
|
|
482
482
|
* @since 1.54
|
|
483
483
|
*/
|
|
484
|
-
contextMenu
|
|
484
|
+
contextMenu: {type: "sap.ui.core.IContextMenu", multiple: false},
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
487
|
* Plugin section of the table. Multiple plugins are possible, but always only <b>one</b> of a certain type.
|
|
@@ -495,13 +495,13 @@ sap.ui.define([
|
|
|
495
495
|
*
|
|
496
496
|
* @since 1.64
|
|
497
497
|
*/
|
|
498
|
-
plugins
|
|
498
|
+
plugins: {type: "sap.ui.table.plugins.SelectionPlugin", multiple: true, singularName: "plugin"},
|
|
499
499
|
|
|
500
500
|
/**
|
|
501
501
|
* Defines the message strip to display binding-related messages.
|
|
502
502
|
* @since 1.73
|
|
503
503
|
*/
|
|
504
|
-
_messageStrip
|
|
504
|
+
_messageStrip: {type: "sap.ui.core.Control", multiple: false, visibility: "hidden"},
|
|
505
505
|
|
|
506
506
|
/**
|
|
507
507
|
* Hidden dependents are dependents that are not cloned. But like for normal dependents, their data binding context and
|
|
@@ -509,9 +509,9 @@ sap.ui.define([
|
|
|
509
509
|
*
|
|
510
510
|
* @since 1.75
|
|
511
511
|
*/
|
|
512
|
-
_hiddenDependents
|
|
512
|
+
_hiddenDependents: {type: "sap.ui.core.Element", multiple: true, visibility: "hidden"}
|
|
513
513
|
},
|
|
514
|
-
associations
|
|
514
|
+
associations: {
|
|
515
515
|
|
|
516
516
|
/**
|
|
517
517
|
* The column by which the table is grouped. Grouping will only be performed if <code>enableGrouping</code> is set to <code>true</code>.
|
|
@@ -521,14 +521,14 @@ sap.ui.define([
|
|
|
521
521
|
* @experimental Since 1.28. This feature has a limited functionality.
|
|
522
522
|
* @see sap.ui.table.Table#setEnableGrouping
|
|
523
523
|
*/
|
|
524
|
-
groupBy
|
|
524
|
+
groupBy: {type: "sap.ui.table.Column", multiple: false},
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
527
|
* Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
528
528
|
*/
|
|
529
|
-
ariaLabelledBy
|
|
529
|
+
ariaLabelledBy: {type: "sap.ui.core.Control", multiple: true, singularName: "ariaLabelledBy"}
|
|
530
530
|
},
|
|
531
|
-
events
|
|
531
|
+
events: {
|
|
532
532
|
|
|
533
533
|
/**
|
|
534
534
|
* fired when the row selection of the table has been changed (the event parameters can be used to determine
|
|
@@ -536,28 +536,28 @@ sap.ui.define([
|
|
|
536
536
|
*
|
|
537
537
|
* <b>Note:</b> If a selection plugin is applied to the table, this event won't be fired.
|
|
538
538
|
*/
|
|
539
|
-
rowSelectionChange
|
|
540
|
-
parameters
|
|
539
|
+
rowSelectionChange: {
|
|
540
|
+
parameters: {
|
|
541
541
|
|
|
542
542
|
/**
|
|
543
543
|
* row index which has been clicked so that the selection has been changed (either selected or deselected)
|
|
544
544
|
*/
|
|
545
|
-
rowIndex
|
|
545
|
+
rowIndex: {type: "int"},
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
548
|
* binding context of the row which has been clicked so that selection has been changed
|
|
549
549
|
*/
|
|
550
|
-
rowContext
|
|
550
|
+
rowContext: {type: "sap.ui.model.Context"},
|
|
551
551
|
|
|
552
552
|
/**
|
|
553
553
|
* array of row indices which selection has been changed (either selected or deselected)
|
|
554
554
|
*/
|
|
555
|
-
rowIndices
|
|
555
|
+
rowIndices: {type: "int[]"},
|
|
556
556
|
|
|
557
557
|
/**
|
|
558
558
|
* indicator if "select all" function is used to select rows
|
|
559
559
|
*/
|
|
560
|
-
selectAll
|
|
560
|
+
selectAll: {type: "boolean"},
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
563
|
* indicates that the event was fired due to an explicit user interaction like clicking the row header
|
|
@@ -570,52 +570,52 @@ sap.ui.define([
|
|
|
570
570
|
/**
|
|
571
571
|
* fired when a column of the table has been selected
|
|
572
572
|
*/
|
|
573
|
-
columnSelect
|
|
574
|
-
allowPreventDefault
|
|
575
|
-
parameters
|
|
573
|
+
columnSelect: {
|
|
574
|
+
allowPreventDefault: true,
|
|
575
|
+
parameters: {
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
578
|
* reference to the selected column
|
|
579
579
|
*/
|
|
580
|
-
column
|
|
580
|
+
column: {type: "sap.ui.table.Column"}
|
|
581
581
|
}
|
|
582
582
|
},
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
585
|
* fired when a table column is resized.
|
|
586
586
|
*/
|
|
587
|
-
columnResize
|
|
588
|
-
allowPreventDefault
|
|
589
|
-
parameters
|
|
587
|
+
columnResize: {
|
|
588
|
+
allowPreventDefault: true,
|
|
589
|
+
parameters: {
|
|
590
590
|
|
|
591
591
|
/**
|
|
592
592
|
* resized column.
|
|
593
593
|
*/
|
|
594
|
-
column
|
|
594
|
+
column: {type: "sap.ui.table.Column"},
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
597
|
* new width of the table column as CSS Size definition.
|
|
598
598
|
*/
|
|
599
|
-
width
|
|
599
|
+
width: {type: "sap.ui.core.CSSSize"}
|
|
600
600
|
}
|
|
601
601
|
},
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
604
|
* fired when a table column is moved.
|
|
605
605
|
*/
|
|
606
|
-
columnMove
|
|
607
|
-
allowPreventDefault
|
|
608
|
-
parameters
|
|
606
|
+
columnMove: {
|
|
607
|
+
allowPreventDefault: true,
|
|
608
|
+
parameters: {
|
|
609
609
|
|
|
610
610
|
/**
|
|
611
611
|
* moved column.
|
|
612
612
|
*/
|
|
613
|
-
column
|
|
613
|
+
column: {type: "sap.ui.table.Column"},
|
|
614
614
|
|
|
615
615
|
/**
|
|
616
616
|
* new position of the column.
|
|
617
617
|
*/
|
|
618
|
-
newPos
|
|
618
|
+
newPos: {type: "int"}
|
|
619
619
|
}
|
|
620
620
|
},
|
|
621
621
|
|
|
@@ -628,24 +628,24 @@ sap.ui.define([
|
|
|
628
628
|
* Sorters that are directly applied to the table
|
|
629
629
|
* binding will not fire this event.
|
|
630
630
|
*/
|
|
631
|
-
sort
|
|
632
|
-
allowPreventDefault
|
|
633
|
-
parameters
|
|
631
|
+
sort: {
|
|
632
|
+
allowPreventDefault: true,
|
|
633
|
+
parameters: {
|
|
634
634
|
|
|
635
635
|
/**
|
|
636
636
|
* sorted column.
|
|
637
637
|
*/
|
|
638
|
-
column
|
|
638
|
+
column: {type: "sap.ui.table.Column"},
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
641
|
* Sort Order
|
|
642
642
|
*/
|
|
643
|
-
sortOrder
|
|
643
|
+
sortOrder: {type: "sap.ui.table.SortOrder"},
|
|
644
644
|
|
|
645
645
|
/**
|
|
646
646
|
* If column was added to sorter this is true. If new sort is started this is set to false
|
|
647
647
|
*/
|
|
648
|
-
columnAdded
|
|
648
|
+
columnAdded: {type: "boolean"}
|
|
649
649
|
}
|
|
650
650
|
},
|
|
651
651
|
|
|
@@ -658,51 +658,51 @@ sap.ui.define([
|
|
|
658
658
|
* Filters that are directly applied to the table
|
|
659
659
|
* binding will not fire this event.
|
|
660
660
|
*/
|
|
661
|
-
filter
|
|
662
|
-
allowPreventDefault
|
|
663
|
-
parameters
|
|
661
|
+
filter: {
|
|
662
|
+
allowPreventDefault: true,
|
|
663
|
+
parameters: {
|
|
664
664
|
|
|
665
665
|
/**
|
|
666
666
|
* filtered column.
|
|
667
667
|
*/
|
|
668
|
-
column
|
|
668
|
+
column: {type: "sap.ui.table.Column"},
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
671
|
* filter value.
|
|
672
672
|
*/
|
|
673
|
-
value
|
|
673
|
+
value: {type: "string"}
|
|
674
674
|
}
|
|
675
675
|
},
|
|
676
676
|
|
|
677
677
|
/**
|
|
678
678
|
* fired when the table is grouped (experimental!).
|
|
679
679
|
*/
|
|
680
|
-
group
|
|
681
|
-
allowPreventDefault
|
|
682
|
-
parameters
|
|
680
|
+
group: {
|
|
681
|
+
allowPreventDefault: true,
|
|
682
|
+
parameters: {
|
|
683
683
|
/**
|
|
684
684
|
* grouped column.
|
|
685
685
|
*/
|
|
686
|
-
column
|
|
686
|
+
column: {type: "sap.ui.table.Column"}
|
|
687
687
|
}
|
|
688
688
|
},
|
|
689
689
|
|
|
690
690
|
/**
|
|
691
691
|
* fired when the visibility of a table column is changed.
|
|
692
692
|
*/
|
|
693
|
-
columnVisibility
|
|
694
|
-
allowPreventDefault
|
|
695
|
-
parameters
|
|
693
|
+
columnVisibility: {
|
|
694
|
+
allowPreventDefault: true,
|
|
695
|
+
parameters: {
|
|
696
696
|
|
|
697
697
|
/**
|
|
698
698
|
* affected column.
|
|
699
699
|
*/
|
|
700
|
-
column
|
|
700
|
+
column: {type: "sap.ui.table.Column"},
|
|
701
701
|
|
|
702
702
|
/**
|
|
703
703
|
* new value of the visible property.
|
|
704
704
|
*/
|
|
705
|
-
newVisible
|
|
705
|
+
newVisible: {type: "boolean"}
|
|
706
706
|
}
|
|
707
707
|
},
|
|
708
708
|
|
|
@@ -710,39 +710,39 @@ sap.ui.define([
|
|
|
710
710
|
* fired when the user clicks a cell of the table (experimental!).
|
|
711
711
|
* @since 1.21.0
|
|
712
712
|
*/
|
|
713
|
-
cellClick
|
|
714
|
-
allowPreventDefault
|
|
715
|
-
parameters
|
|
713
|
+
cellClick: {
|
|
714
|
+
allowPreventDefault: true,
|
|
715
|
+
parameters: {
|
|
716
716
|
/**
|
|
717
717
|
* The control of the cell.
|
|
718
718
|
*/
|
|
719
|
-
cellControl
|
|
719
|
+
cellControl: {type: "sap.ui.core.Control"},
|
|
720
720
|
|
|
721
721
|
/**
|
|
722
722
|
* DOM reference of the clicked cell. Can be used to position the context menu.
|
|
723
723
|
*/
|
|
724
|
-
cellDomRef
|
|
724
|
+
cellDomRef: {type: "Object"},
|
|
725
725
|
|
|
726
726
|
/**
|
|
727
727
|
* Row index of the selected cell.
|
|
728
728
|
*/
|
|
729
|
-
rowIndex
|
|
729
|
+
rowIndex: {type: "int"},
|
|
730
730
|
|
|
731
731
|
/**
|
|
732
732
|
* Column index of the selected cell. This is the index of visible columns and might differ from
|
|
733
733
|
* the index maintained in the column aggregation.
|
|
734
734
|
*/
|
|
735
|
-
columnIndex
|
|
735
|
+
columnIndex: {type: "int"},
|
|
736
736
|
|
|
737
737
|
/**
|
|
738
738
|
* Column ID of the selected cell.
|
|
739
739
|
*/
|
|
740
|
-
columnId
|
|
740
|
+
columnId: {type: "string"},
|
|
741
741
|
|
|
742
742
|
/**
|
|
743
743
|
* Row binding context of the selected cell.
|
|
744
744
|
*/
|
|
745
|
-
rowBindingContext
|
|
745
|
+
rowBindingContext: {type: "sap.ui.model.Context"}
|
|
746
746
|
}
|
|
747
747
|
},
|
|
748
748
|
|
|
@@ -751,39 +751,39 @@ sap.ui.define([
|
|
|
751
751
|
* @since 1.21.0
|
|
752
752
|
* @deprecated As of 1.54, replaced by <code>beforeOpenContextMenu</code>.
|
|
753
753
|
*/
|
|
754
|
-
cellContextmenu
|
|
755
|
-
allowPreventDefault
|
|
756
|
-
parameters
|
|
754
|
+
cellContextmenu: {
|
|
755
|
+
allowPreventDefault: true,
|
|
756
|
+
parameters: {
|
|
757
757
|
/**
|
|
758
758
|
* The control of the cell.
|
|
759
759
|
*/
|
|
760
|
-
cellControl
|
|
760
|
+
cellControl: {type: "sap.ui.core.Control"},
|
|
761
761
|
|
|
762
762
|
/**
|
|
763
763
|
* DOM reference of the clicked cell. Can be used to position the context menu.
|
|
764
764
|
*/
|
|
765
|
-
cellDomRef
|
|
765
|
+
cellDomRef: {type: "Object"},
|
|
766
766
|
|
|
767
767
|
/**
|
|
768
768
|
* Row index of the selected cell.
|
|
769
769
|
*/
|
|
770
|
-
rowIndex
|
|
770
|
+
rowIndex: {type: "int"},
|
|
771
771
|
|
|
772
772
|
/**
|
|
773
773
|
* Column index of the selected cell. This is the index of visible columns and might differ from
|
|
774
774
|
* the index maintained in the column aggregation.
|
|
775
775
|
*/
|
|
776
|
-
columnIndex
|
|
776
|
+
columnIndex: {type: "int"},
|
|
777
777
|
|
|
778
778
|
/**
|
|
779
779
|
* Column ID of the selected cell.
|
|
780
780
|
*/
|
|
781
|
-
columnId
|
|
781
|
+
columnId: {type: "string"},
|
|
782
782
|
|
|
783
783
|
/**
|
|
784
784
|
* Row binding context of the selected cell.
|
|
785
785
|
*/
|
|
786
|
-
rowBindingContext
|
|
786
|
+
rowBindingContext: {type: "sap.ui.model.Context"}
|
|
787
787
|
},
|
|
788
788
|
deprecated: true
|
|
789
789
|
},
|
|
@@ -792,24 +792,24 @@ sap.ui.define([
|
|
|
792
792
|
* Fired when the user requests the context menu for a table cell.
|
|
793
793
|
* @since 1.54
|
|
794
794
|
*/
|
|
795
|
-
beforeOpenContextMenu
|
|
796
|
-
allowPreventDefault
|
|
795
|
+
beforeOpenContextMenu: {
|
|
796
|
+
allowPreventDefault: true,
|
|
797
797
|
parameters: {
|
|
798
798
|
/**
|
|
799
799
|
* Row index where the context menu opens.
|
|
800
800
|
*/
|
|
801
|
-
rowIndex
|
|
801
|
+
rowIndex: {type: "int"},
|
|
802
802
|
|
|
803
803
|
/**
|
|
804
804
|
* Column index where the context menu opens.
|
|
805
805
|
* This is the index of the column in the <code>columns</code> aggregation.
|
|
806
806
|
*/
|
|
807
|
-
columnIndex
|
|
807
|
+
columnIndex: {type: "int"},
|
|
808
808
|
|
|
809
809
|
/**
|
|
810
810
|
* Context menu
|
|
811
811
|
*/
|
|
812
|
-
contextMenu
|
|
812
|
+
contextMenu: {type: "sap.ui.core.IContextMenu"}
|
|
813
813
|
}
|
|
814
814
|
},
|
|
815
815
|
|
|
@@ -817,14 +817,14 @@ sap.ui.define([
|
|
|
817
817
|
* fired when a column of the table should be freezed
|
|
818
818
|
* @since 1.21.0
|
|
819
819
|
*/
|
|
820
|
-
columnFreeze
|
|
821
|
-
allowPreventDefault
|
|
822
|
-
parameters
|
|
820
|
+
columnFreeze: {
|
|
821
|
+
allowPreventDefault: true,
|
|
822
|
+
parameters: {
|
|
823
823
|
|
|
824
824
|
/**
|
|
825
825
|
* reference to the column to freeze
|
|
826
826
|
*/
|
|
827
|
-
column
|
|
827
|
+
column: {type: "sap.ui.table.Column"}
|
|
828
828
|
}
|
|
829
829
|
},
|
|
830
830
|
|
|
@@ -833,16 +833,18 @@ sap.ui.define([
|
|
|
833
833
|
* passed as parameter.
|
|
834
834
|
* @since 1.23.0
|
|
835
835
|
*/
|
|
836
|
-
customFilter
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
836
|
+
customFilter: {
|
|
837
|
+
parameters: {
|
|
838
|
+
/**
|
|
839
|
+
* The column instance on which the custom filter button was pressed.
|
|
840
|
+
*/
|
|
841
|
+
column: {type: "sap.ui.table.Column"},
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Filter value.
|
|
845
|
+
*/
|
|
846
|
+
value: {type: "string"}
|
|
847
|
+
}
|
|
846
848
|
},
|
|
847
849
|
|
|
848
850
|
/**
|
|
@@ -851,11 +853,13 @@ sap.ui.define([
|
|
|
851
853
|
* @since 1.37.0
|
|
852
854
|
* @protected
|
|
853
855
|
*/
|
|
854
|
-
firstVisibleRowChanged
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
856
|
+
firstVisibleRowChanged: {
|
|
857
|
+
parameters: {
|
|
858
|
+
/**
|
|
859
|
+
* First visible row
|
|
860
|
+
*/
|
|
861
|
+
firstVisibleRow: {type: "int"}
|
|
862
|
+
}
|
|
859
863
|
},
|
|
860
864
|
|
|
861
865
|
/**
|
|
@@ -863,11 +867,13 @@ sap.ui.define([
|
|
|
863
867
|
* @since 1.37.0
|
|
864
868
|
* @protected
|
|
865
869
|
*/
|
|
866
|
-
busyStateChanged
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
870
|
+
busyStateChanged: {
|
|
871
|
+
parameters: {
|
|
872
|
+
/**
|
|
873
|
+
* busy state
|
|
874
|
+
*/
|
|
875
|
+
busy: {type: "boolean"}
|
|
876
|
+
}
|
|
871
877
|
},
|
|
872
878
|
|
|
873
879
|
/**
|
|
@@ -875,14 +881,14 @@ sap.ui.define([
|
|
|
875
881
|
* Pasting can be done with the standard keyboard shortcut, if the focus is inside the table.
|
|
876
882
|
* @since 1.60
|
|
877
883
|
*/
|
|
878
|
-
paste
|
|
884
|
+
paste: {
|
|
879
885
|
allowPreventDefault: true,
|
|
880
|
-
parameters
|
|
886
|
+
parameters: {
|
|
881
887
|
/**
|
|
882
888
|
* 2D array of strings with data from the clipboard. The first dimension represents the rows, and the
|
|
883
889
|
* second dimension represents the cells of the tabular data.
|
|
884
890
|
*/
|
|
885
|
-
data
|
|
891
|
+
data: {type: "string[][]"}
|
|
886
892
|
}
|
|
887
893
|
},
|
|
888
894
|
|
|
@@ -894,11 +900,11 @@ sap.ui.define([
|
|
|
894
900
|
*
|
|
895
901
|
* @since 1.86
|
|
896
902
|
*/
|
|
897
|
-
rowsUpdated
|
|
903
|
+
rowsUpdated: {
|
|
898
904
|
|
|
899
905
|
}
|
|
900
906
|
},
|
|
901
|
-
designtime:
|
|
907
|
+
designtime: "sap/ui/table/designtime/Table.designtime"
|
|
902
908
|
}, renderer: TableRenderer});
|
|
903
909
|
|
|
904
910
|
/**
|
|
@@ -932,7 +938,6 @@ sap.ui.define([
|
|
|
932
938
|
* @since 1.52
|
|
933
939
|
*/
|
|
934
940
|
|
|
935
|
-
|
|
936
941
|
// =============================================================================
|
|
937
942
|
// BASIC CONTROL API
|
|
938
943
|
// =============================================================================
|
|
@@ -1066,7 +1071,6 @@ sap.ui.define([
|
|
|
1066
1071
|
this._bExtensionsInitialized = true;
|
|
1067
1072
|
};
|
|
1068
1073
|
|
|
1069
|
-
|
|
1070
1074
|
/**
|
|
1071
1075
|
* Termination of the Table control
|
|
1072
1076
|
* @private
|
|
@@ -1081,12 +1085,11 @@ sap.ui.define([
|
|
|
1081
1085
|
delete this._aTableHeaders;
|
|
1082
1086
|
};
|
|
1083
1087
|
|
|
1084
|
-
|
|
1085
1088
|
/**
|
|
1086
1089
|
* Detach table extensions
|
|
1087
1090
|
* @private
|
|
1088
1091
|
*/
|
|
1089
|
-
Table.prototype._detachExtensions = function(){
|
|
1092
|
+
Table.prototype._detachExtensions = function() {
|
|
1090
1093
|
ExtensionBase.cleanup(this);
|
|
1091
1094
|
};
|
|
1092
1095
|
|
|
@@ -1123,7 +1126,6 @@ sap.ui.define([
|
|
|
1123
1126
|
}
|
|
1124
1127
|
};
|
|
1125
1128
|
|
|
1126
|
-
|
|
1127
1129
|
/**
|
|
1128
1130
|
* Localization changed
|
|
1129
1131
|
* @private
|
|
@@ -1516,11 +1518,11 @@ sap.ui.define([
|
|
|
1516
1518
|
domWidth = colHeader ? colHeader.offsetWidth : null;
|
|
1517
1519
|
if (domWidth !== null) {
|
|
1518
1520
|
if (domWidth <= minWidth) {
|
|
1519
|
-
return {headers
|
|
1521
|
+
return {headers: aColHeaders, newWidth: calcNewWidth(domWidth, minWidth)};
|
|
1520
1522
|
} else if (colHeader && colHeader.style.width != colWidth) {
|
|
1521
1523
|
aNotFixedVariableColumns.push({col: col, header: colHeader, minWidth: minWidth, headers: aColHeaders});
|
|
1522
1524
|
// reset the minimum style width that was set previously
|
|
1523
|
-
return {headers
|
|
1525
|
+
return {headers: aColHeaders, newWidth: colWidth};
|
|
1524
1526
|
}
|
|
1525
1527
|
aNotFixedVariableColumns.push({col: col, header: colHeader, minWidth: minWidth, headers: aColHeaders});
|
|
1526
1528
|
}
|
|
@@ -1652,7 +1654,6 @@ sap.ui.define([
|
|
|
1652
1654
|
}
|
|
1653
1655
|
};
|
|
1654
1656
|
|
|
1655
|
-
|
|
1656
1657
|
// =============================================================================
|
|
1657
1658
|
// FOCUS
|
|
1658
1659
|
// =============================================================================
|
|
@@ -1718,7 +1719,6 @@ sap.ui.define([
|
|
|
1718
1719
|
return this;
|
|
1719
1720
|
};
|
|
1720
1721
|
|
|
1721
|
-
|
|
1722
1722
|
/*
|
|
1723
1723
|
* @see JSDoc generated by SAPUI5 control API generator
|
|
1724
1724
|
*/
|
|
@@ -1733,7 +1733,6 @@ sap.ui.define([
|
|
|
1733
1733
|
return this;
|
|
1734
1734
|
};
|
|
1735
1735
|
|
|
1736
|
-
|
|
1737
1736
|
/**
|
|
1738
1737
|
* Sets the selection mode. The current selection is lost.
|
|
1739
1738
|
*
|
|
@@ -2604,7 +2603,6 @@ sap.ui.define([
|
|
|
2604
2603
|
this._getPointerExtension().doAutoResizeColumn(iColIndex);
|
|
2605
2604
|
};
|
|
2606
2605
|
|
|
2607
|
-
|
|
2608
2606
|
// =============================================================================
|
|
2609
2607
|
// EVENT HANDLING & CLEANUP
|
|
2610
2608
|
// =============================================================================
|
|
@@ -2617,7 +2615,7 @@ sap.ui.define([
|
|
|
2617
2615
|
var $this = this.$();
|
|
2618
2616
|
var sTableId = this.getId();
|
|
2619
2617
|
|
|
2620
|
-
if (Configuration.
|
|
2618
|
+
if (Configuration.getAnimationMode() !== Configuration.AnimationMode.none) {
|
|
2621
2619
|
jQuery(document.body).on("webkitTransitionEnd." + sTableId + " transitionend." + sTableId,
|
|
2622
2620
|
function(oEvent) {
|
|
2623
2621
|
if (jQuery(oEvent.target).has($this).length > 0) {
|
|
@@ -2728,7 +2726,6 @@ sap.ui.define([
|
|
|
2728
2726
|
return oResult;
|
|
2729
2727
|
};
|
|
2730
2728
|
|
|
2731
|
-
|
|
2732
2729
|
/*
|
|
2733
2730
|
* @see JSDoc generated by SAPUI5 control API generator
|
|
2734
2731
|
*/
|
|
@@ -2919,7 +2916,7 @@ sap.ui.define([
|
|
|
2919
2916
|
}
|
|
2920
2917
|
};
|
|
2921
2918
|
|
|
2922
|
-
Table.prototype._adjustOutlineOffset = function(){
|
|
2919
|
+
Table.prototype._adjustOutlineOffset = function() {
|
|
2923
2920
|
if (window.devicePixelRatio < 1) {
|
|
2924
2921
|
this.addStyleClass("sapUiTableZoomout");
|
|
2925
2922
|
} else {
|
|
@@ -3110,7 +3107,6 @@ sap.ui.define([
|
|
|
3110
3107
|
}
|
|
3111
3108
|
};
|
|
3112
3109
|
|
|
3113
|
-
|
|
3114
3110
|
/**
|
|
3115
3111
|
* Filters a column by a value.
|
|
3116
3112
|
* If no filter value is passed, the filter value equals an empty string, and the filter for this column is removed.
|
|
@@ -3131,7 +3127,6 @@ sap.ui.define([
|
|
|
3131
3127
|
}
|
|
3132
3128
|
};
|
|
3133
3129
|
|
|
3134
|
-
|
|
3135
3130
|
// =============================================================================
|
|
3136
3131
|
// SELECTION HANDLING
|
|
3137
3132
|
// =============================================================================
|
|
@@ -3201,7 +3196,6 @@ sap.ui.define([
|
|
|
3201
3196
|
return !this._bHideStandardTooltips;
|
|
3202
3197
|
};
|
|
3203
3198
|
|
|
3204
|
-
|
|
3205
3199
|
/**
|
|
3206
3200
|
* Notifies the selection listeners about the changed rows.
|
|
3207
3201
|
* @private
|