@openui5/sap.ui.table 1.105.1 → 1.107.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/.reuse/dep5 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +20 -3
- package/src/sap/ui/table/AnalyticalColumnMenu.js +19 -15
- package/src/sap/ui/table/AnalyticalTable.js +1 -17
- package/src/sap/ui/table/Column.js +102 -50
- package/src/sap/ui/table/ColumnMenu.js +19 -5
- package/src/sap/ui/table/CreationRow.js +1 -2
- package/src/sap/ui/table/Row.js +1 -3
- package/src/sap/ui/table/RowAction.js +1 -2
- package/src/sap/ui/table/RowActionItem.js +1 -2
- package/src/sap/ui/table/RowSettings.js +1 -2
- package/src/sap/ui/table/Table.js +77 -44
- package/src/sap/ui/table/TablePersoController.js +6 -5
- package/src/sap/ui/table/TableRenderer.js +7 -6
- package/src/sap/ui/table/TreeTable.js +2 -10
- package/src/sap/ui/table/extensions/Accessibility.js +37 -24
- package/src/sap/ui/table/extensions/AccessibilityRender.js +3 -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 +7 -6
- package/src/sap/ui/table/extensions/Pointer.js +4 -2
- package/src/sap/ui/table/extensions/Scrolling.js +1 -1
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +46 -7
- package/src/sap/ui/table/library.js +10 -16
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +224 -0
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +428 -0
- package/src/sap/ui/table/messagebundle.properties +6 -0
- package/src/sap/ui/table/messagebundle_ar.properties +4 -0
- package/src/sap/ui/table/messagebundle_bg.properties +4 -0
- package/src/sap/ui/table/messagebundle_ca.properties +4 -0
- package/src/sap/ui/table/messagebundle_cs.properties +4 -0
- package/src/sap/ui/table/messagebundle_cy.properties +4 -0
- package/src/sap/ui/table/messagebundle_da.properties +4 -0
- package/src/sap/ui/table/messagebundle_de.properties +4 -0
- package/src/sap/ui/table/messagebundle_el.properties +4 -0
- package/src/sap/ui/table/messagebundle_en.properties +4 -0
- package/src/sap/ui/table/messagebundle_en_GB.properties +4 -0
- package/src/sap/ui/table/messagebundle_en_US_sappsd.properties +4 -0
- package/src/sap/ui/table/messagebundle_en_US_saprigi.properties +4 -0
- package/src/sap/ui/table/messagebundle_en_US_saptrc.properties +4 -0
- package/src/sap/ui/table/messagebundle_es.properties +4 -0
- package/src/sap/ui/table/messagebundle_es_MX.properties +4 -0
- package/src/sap/ui/table/messagebundle_et.properties +4 -0
- package/src/sap/ui/table/messagebundle_fi.properties +4 -0
- package/src/sap/ui/table/messagebundle_fr.properties +4 -0
- package/src/sap/ui/table/messagebundle_fr_CA.properties +4 -0
- package/src/sap/ui/table/messagebundle_hi.properties +4 -0
- package/src/sap/ui/table/messagebundle_hr.properties +4 -0
- package/src/sap/ui/table/messagebundle_hu.properties +4 -0
- package/src/sap/ui/table/messagebundle_id.properties +4 -0
- package/src/sap/ui/table/messagebundle_it.properties +4 -0
- package/src/sap/ui/table/messagebundle_iw.properties +4 -0
- package/src/sap/ui/table/messagebundle_ja.properties +4 -0
- package/src/sap/ui/table/messagebundle_kk.properties +4 -0
- package/src/sap/ui/table/messagebundle_ko.properties +4 -0
- package/src/sap/ui/table/messagebundle_lt.properties +4 -0
- package/src/sap/ui/table/messagebundle_lv.properties +4 -0
- package/src/sap/ui/table/messagebundle_ms.properties +4 -0
- package/src/sap/ui/table/messagebundle_nl.properties +4 -0
- package/src/sap/ui/table/messagebundle_no.properties +4 -0
- package/src/sap/ui/table/messagebundle_pl.properties +4 -0
- package/src/sap/ui/table/messagebundle_pt.properties +4 -0
- package/src/sap/ui/table/messagebundle_pt_PT.properties +4 -0
- package/src/sap/ui/table/messagebundle_ro.properties +4 -0
- package/src/sap/ui/table/messagebundle_ru.properties +4 -0
- package/src/sap/ui/table/messagebundle_sh.properties +4 -0
- package/src/sap/ui/table/messagebundle_sk.properties +4 -0
- package/src/sap/ui/table/messagebundle_sl.properties +4 -0
- package/src/sap/ui/table/messagebundle_sv.properties +5 -1
- package/src/sap/ui/table/messagebundle_th.properties +4 -0
- package/src/sap/ui/table/messagebundle_tr.properties +4 -0
- package/src/sap/ui/table/messagebundle_uk.properties +4 -0
- package/src/sap/ui/table/messagebundle_vi.properties +4 -0
- package/src/sap/ui/table/messagebundle_zh_CN.properties +4 -0
- package/src/sap/ui/table/messagebundle_zh_TW.properties +4 -0
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/PluginBase.js +1 -2
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
- package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -2
- package/src/sap/ui/table/plugins/V4Aggregation.js +13 -16
- package/src/sap/ui/table/rowmodes/AutoRowMode.js +1 -2
- package/src/sap/ui/table/rowmodes/FixedRowMode.js +1 -2
- package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +1 -2
- package/src/sap/ui/table/rowmodes/RowMode.js +1 -2
- package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -2
- package/src/sap/ui/table/utils/TableUtils.js +12 -30
- package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
- package/src/sap/ui/table/utils/_ColumnUtils.js +38 -12
- package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
- package/src/sap/ui/table/utils/_HookUtils.js +1 -1
- package/src/sap/ui/table/utils/_MenuUtils.js +19 -21
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
sap.ui.define([
|
|
9
9
|
"./ColumnMenu",
|
|
10
10
|
"./utils/TableUtils",
|
|
11
|
+
"./menus/ColumnHeaderMenuAdapter",
|
|
11
12
|
"./library",
|
|
13
|
+
"sap/ui/core/Core",
|
|
12
14
|
"sap/ui/core/Element",
|
|
13
15
|
"sap/ui/core/Popup",
|
|
14
16
|
"sap/ui/core/library",
|
|
@@ -24,7 +26,9 @@ sap.ui.define([
|
|
|
24
26
|
], function(
|
|
25
27
|
ColumnMenu,
|
|
26
28
|
TableUtils,
|
|
29
|
+
ColumnHeaderMenuAdapter,
|
|
27
30
|
library,
|
|
31
|
+
Core,
|
|
28
32
|
Element,
|
|
29
33
|
Popup,
|
|
30
34
|
coreLibrary,
|
|
@@ -68,12 +72,11 @@ sap.ui.define([
|
|
|
68
72
|
* @class
|
|
69
73
|
* The column allows you to define column specific properties that will be applied when rendering the table.
|
|
70
74
|
* @extends sap.ui.core.Element
|
|
71
|
-
* @version 1.
|
|
75
|
+
* @version 1.107.0
|
|
72
76
|
*
|
|
73
77
|
* @constructor
|
|
74
78
|
* @public
|
|
75
79
|
* @alias sap.ui.table.Column
|
|
76
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
77
80
|
*/
|
|
78
81
|
var Column = Element.extend("sap.ui.table.Column", /** @lends sap.ui.table.Column.prototype */ { metadata : {
|
|
79
82
|
|
|
@@ -323,11 +326,11 @@ sap.ui.define([
|
|
|
323
326
|
},
|
|
324
327
|
associations: {
|
|
325
328
|
/**
|
|
326
|
-
*
|
|
327
|
-
*
|
|
328
|
-
* @since 1.
|
|
329
|
+
* The menu that can be opened by the header element of this column.
|
|
330
|
+
*
|
|
331
|
+
* @since 1.104
|
|
329
332
|
*/
|
|
330
|
-
|
|
333
|
+
headerMenu: {type: "sap.ui.core.IColumnHeaderMenu", multiple: false, visibility: "hidden"}
|
|
331
334
|
},
|
|
332
335
|
events : {
|
|
333
336
|
/**
|
|
@@ -386,6 +389,7 @@ sap.ui.define([
|
|
|
386
389
|
*/
|
|
387
390
|
Column.prototype.exit = function() {
|
|
388
391
|
this._destroyTemplateClones();
|
|
392
|
+
ColumnHeaderMenuAdapter.unlink(this);
|
|
389
393
|
};
|
|
390
394
|
|
|
391
395
|
/**
|
|
@@ -807,6 +811,31 @@ sap.ui.define([
|
|
|
807
811
|
}
|
|
808
812
|
};
|
|
809
813
|
|
|
814
|
+
Column.prototype._openHeaderMenu = function(oDomRef) {
|
|
815
|
+
var oHeaderMenu = this.getHeaderMenuInstance();
|
|
816
|
+
if (oHeaderMenu) {
|
|
817
|
+
ColumnHeaderMenuAdapter.activateFor(this).then(function() {
|
|
818
|
+
oHeaderMenu.openBy(oDomRef);
|
|
819
|
+
});
|
|
820
|
+
}
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
Column.prototype._isMenuOpen = function() {
|
|
824
|
+
var oHeaderMenu = this.getHeaderMenuInstance();
|
|
825
|
+
if (!oHeaderMenu) {
|
|
826
|
+
return false;
|
|
827
|
+
}
|
|
828
|
+
return oHeaderMenu.isOpen();
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
Column.prototype._setGrouped = function(bGrouped) {
|
|
832
|
+
var oTable = this._getTable();
|
|
833
|
+
oTable.setGroupBy(bGrouped ? this : null);
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
Column.prototype._isAggregatableByMenu = function() {
|
|
837
|
+
return false;
|
|
838
|
+
};
|
|
810
839
|
|
|
811
840
|
/**
|
|
812
841
|
* Toggles the sort order of the column.
|
|
@@ -814,7 +843,6 @@ sap.ui.define([
|
|
|
814
843
|
* @public
|
|
815
844
|
* @deprecated Since version 1.5.1.
|
|
816
845
|
* Please use the function "sap.ui.Table.prototype.sort".
|
|
817
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
818
846
|
*/
|
|
819
847
|
Column.prototype.toggleSort = function() {
|
|
820
848
|
// by default we sort ascending / only if already is sorted ascending then we toggle
|
|
@@ -829,7 +857,6 @@ sap.ui.define([
|
|
|
829
857
|
* @returns {this} Reference to <code>this</code> in order to allow method chaining
|
|
830
858
|
* @public
|
|
831
859
|
* @deprecated Since version 1.5.1. Please use the function "sap.ui.Table.prototype.sort".
|
|
832
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
833
860
|
*/
|
|
834
861
|
Column.prototype.sort = function(bDescending, bAdd) {
|
|
835
862
|
var oTable = this.getParent();
|
|
@@ -847,54 +874,70 @@ sap.ui.define([
|
|
|
847
874
|
});
|
|
848
875
|
|
|
849
876
|
if (bExecuteDefault) {
|
|
850
|
-
var aSortedCols = oTable.getSortedColumns();
|
|
851
|
-
var aColumns = oTable.getColumns();
|
|
852
|
-
|
|
853
|
-
// reset the sorting status of all columns which are not sorted anymore
|
|
854
|
-
for (var i = 0, l = aColumns.length; i < l; i++) {
|
|
855
|
-
if (aSortedCols.indexOf(aColumns[i]) < 0) {
|
|
856
|
-
// column is not sorted anymore -> reset default and remove sorter
|
|
857
|
-
aColumns[i].setProperty("sorted", false, true);
|
|
858
|
-
aColumns[i].setProperty("sortOrder", SortOrder.Ascending, true);
|
|
859
|
-
aColumns[i]._updateIcons(true);
|
|
860
|
-
delete _private(aColumns[i]).oSorter;
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
|
|
864
877
|
// update properties of current column
|
|
865
878
|
this.setProperty("sorted", true, true);
|
|
866
879
|
this.setProperty("sortOrder", sNewSortOrder, true);
|
|
867
880
|
_private(this).oSorter = new Sorter(this.getSortProperty(), this.getSortOrder() === SortOrder.Descending);
|
|
868
881
|
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
}
|
|
882
|
+
this._applySorters(sNewSortOrder, bAdd);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
return this;
|
|
886
|
+
};
|
|
875
887
|
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
// For the AnalyticalTable with an AnalyticalColumn.
|
|
882
|
-
if (this._updateTableAnalyticalInfo) {
|
|
883
|
-
// The analytical info must be updated before sorting via the binding. The request will still be correct, but the binding
|
|
884
|
-
// will create its internal data structure based on the analytical info. We also do not need to get the contexts right
|
|
885
|
-
// now (therefore "true" is passed"), this will be done later in refreshRows.
|
|
886
|
-
this._updateTableAnalyticalInfo(true);
|
|
887
|
-
}
|
|
888
|
+
Column.prototype._unsort = function() {
|
|
889
|
+
var oTable = this.getParent();
|
|
890
|
+
if (oTable) {
|
|
891
|
+
// add current column to list of sorted columns
|
|
892
|
+
oTable._removeSortedColumn(this);
|
|
888
893
|
|
|
889
|
-
|
|
890
|
-
|
|
894
|
+
this._applySorters();
|
|
895
|
+
}
|
|
896
|
+
return this;
|
|
897
|
+
};
|
|
891
898
|
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
899
|
+
Column.prototype._applySorters = function(sNewSortOrder, bAdd) {
|
|
900
|
+
var oTable = this.getParent();
|
|
901
|
+
var aSortedCols = oTable.getSortedColumns();
|
|
902
|
+
var aColumns = oTable.getColumns();
|
|
903
|
+
|
|
904
|
+
// reset the sorting status of all columns which are not sorted anymore
|
|
905
|
+
for (var i = 0, l = aColumns.length; i < l; i++) {
|
|
906
|
+
if (aSortedCols.indexOf(aColumns[i]) < 0) {
|
|
907
|
+
// column is not sorted anymore -> reset default and remove sorter
|
|
908
|
+
aColumns[i].setProperty("sorted", false, true);
|
|
909
|
+
aColumns[i].setProperty("sortOrder", SortOrder.Ascending, true);
|
|
910
|
+
aColumns[i]._updateIcons(true);
|
|
911
|
+
delete _private(aColumns[i]).oSorter;
|
|
895
912
|
}
|
|
896
913
|
}
|
|
897
|
-
|
|
914
|
+
|
|
915
|
+
// add sorters of all sorted columns to one sorter-array and update sort icon rendering for sorted columns
|
|
916
|
+
var aSorters = [];
|
|
917
|
+
for (var i = 0, l = aSortedCols.length; i < l; i++) {
|
|
918
|
+
aSortedCols[i]._updateIcons(true);
|
|
919
|
+
aSorters.push(_private(aSortedCols[i]).oSorter);
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
oTable._resetColumnHeaderHeights();
|
|
923
|
+
oTable._updateRowHeights(oTable._collectRowHeights(true), true);
|
|
924
|
+
|
|
925
|
+
var oBinding = oTable.getBinding();
|
|
926
|
+
if (oBinding) {
|
|
927
|
+
// For the AnalyticalTable with an AnalyticalColumn.
|
|
928
|
+
if (this._updateTableAnalyticalInfo) {
|
|
929
|
+
// The analytical info must be updated before sorting via the binding. The request will still be correct, but the binding
|
|
930
|
+
// will create its internal data structure based on the analytical info. We also do not need to get the contexts right
|
|
931
|
+
// now (therefore "true" is passed"), this will be done later in refreshRows.
|
|
932
|
+
this._updateTableAnalyticalInfo(true);
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
// sort the binding
|
|
936
|
+
oBinding.sort(aSorters);
|
|
937
|
+
|
|
938
|
+
} else {
|
|
939
|
+
Log.warning("Sorting not performed because no binding present", this);
|
|
940
|
+
}
|
|
898
941
|
};
|
|
899
942
|
|
|
900
943
|
Column.prototype._updateIcons = function(bSkipUpdateRowHeights) {
|
|
@@ -925,6 +968,15 @@ sap.ui.define([
|
|
|
925
968
|
this._updateIcons();
|
|
926
969
|
};
|
|
927
970
|
|
|
971
|
+
Column.prototype._getFilterState = function() {
|
|
972
|
+
try {
|
|
973
|
+
this._getFilter();
|
|
974
|
+
return ValueState.None;
|
|
975
|
+
} catch (e) {
|
|
976
|
+
return ValueState.Error;
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
|
|
928
980
|
Column.prototype._getFilter = function() {
|
|
929
981
|
|
|
930
982
|
var oFilter,
|
|
@@ -1316,13 +1368,13 @@ sap.ui.define([
|
|
|
1316
1368
|
};
|
|
1317
1369
|
|
|
1318
1370
|
/**
|
|
1319
|
-
* Returns the
|
|
1371
|
+
* Returns the column header menu instance that this column is associated with via the <code>headerMenu</code> association.
|
|
1320
1372
|
*
|
|
1321
|
-
* @returns {sap.ui.core.IColumnHeaderMenu}
|
|
1373
|
+
* @returns {sap.ui.core.IColumnHeaderMenu | undefined} The column header menu instance
|
|
1322
1374
|
* @private
|
|
1323
1375
|
*/
|
|
1324
|
-
Column.prototype.
|
|
1325
|
-
return
|
|
1376
|
+
Column.prototype.getHeaderMenuInstance = function () {
|
|
1377
|
+
return Core.byId(this.getAssociation("headerMenu"));
|
|
1326
1378
|
};
|
|
1327
1379
|
|
|
1328
1380
|
function validateCellContentVisibilitySettings(mSettings) {
|
|
@@ -39,12 +39,11 @@ 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.
|
|
42
|
+
* @version 1.107.0
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @public
|
|
46
46
|
* @alias sap.ui.table.ColumnMenu
|
|
47
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) design time metamodel
|
|
48
47
|
*/
|
|
49
48
|
var ColumnMenu = Menu.extend("sap.ui.table.ColumnMenu", /** @lends sap.ui.table.ColumnMenu.prototype */ {
|
|
50
49
|
metadata : {
|
|
@@ -265,7 +264,18 @@ sap.ui.define([
|
|
|
265
264
|
"TBL_GROUP",
|
|
266
265
|
null,
|
|
267
266
|
function() {
|
|
267
|
+
var oDomRef;
|
|
268
268
|
oTable.setGroupBy(oColumn);
|
|
269
|
+
|
|
270
|
+
if (TableUtils.isNoDataVisible(oTable)) {
|
|
271
|
+
oDomRef = oTable.getDomRef("noDataCnt");
|
|
272
|
+
} else {
|
|
273
|
+
oDomRef = oTable.getDomRef("rowsel0");
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
if (oDomRef) {
|
|
277
|
+
oDomRef.focus();
|
|
278
|
+
}
|
|
269
279
|
}
|
|
270
280
|
));
|
|
271
281
|
}
|
|
@@ -338,7 +348,7 @@ sap.ui.define([
|
|
|
338
348
|
*/
|
|
339
349
|
ColumnMenu.prototype._createColumnVisibilityMenuItem = function(oColumn) {
|
|
340
350
|
var oTable = this._oTable;
|
|
341
|
-
var sText = TableUtils.Column.getHeaderText(
|
|
351
|
+
var sText = TableUtils.Column.getHeaderText(oColumn);
|
|
342
352
|
|
|
343
353
|
return new MenuItem({
|
|
344
354
|
text: sText,
|
|
@@ -356,6 +366,10 @@ sap.ui.define([
|
|
|
356
366
|
});
|
|
357
367
|
}
|
|
358
368
|
if (bExecuteDefault) {
|
|
369
|
+
if (oTable.getFocusDomRef().getAttribute("id") === oColumn.getId()) {
|
|
370
|
+
var aVisibleColumns = oTable._getVisibleColumns();
|
|
371
|
+
aVisibleColumns[Math.min(aVisibleColumns.indexOf(oColumn) + 1, TableUtils.getVisibleColumnCount(oTable) - 2)].focus();
|
|
372
|
+
}
|
|
359
373
|
oColumn.setVisible(bVisible);
|
|
360
374
|
}
|
|
361
375
|
}
|
|
@@ -404,7 +418,7 @@ sap.ui.define([
|
|
|
404
418
|
|
|
405
419
|
|
|
406
420
|
/**
|
|
407
|
-
*
|
|
421
|
+
* Sets a new filter value into the filter field
|
|
408
422
|
* @param {string} sValue value of the filter input field to be set
|
|
409
423
|
* @returns {this} this reference for chaining
|
|
410
424
|
* @private
|
|
@@ -421,7 +435,7 @@ sap.ui.define([
|
|
|
421
435
|
};
|
|
422
436
|
|
|
423
437
|
/**
|
|
424
|
-
*
|
|
438
|
+
* Sets the value state of the filter field
|
|
425
439
|
* @param {sap.ui.core.ValueState} sFilterState value state for filter text field item
|
|
426
440
|
* @returns {this} this reference for chaining
|
|
427
441
|
* @private
|
|
@@ -32,13 +32,12 @@ 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.
|
|
35
|
+
* @version 1.107.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @private
|
|
39
39
|
* @ui5-restricted sap.ui.mdc
|
|
40
40
|
* @alias sap.ui.table.CreationRow
|
|
41
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
42
41
|
*/
|
|
43
42
|
var CreationRow = Control.extend("sap.ui.table.CreationRow", /** @lends sap.ui.table.CreationRow.prototype */ {
|
|
44
43
|
metadata: {
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -135,12 +135,11 @@ sap.ui.define([
|
|
|
135
135
|
* @class
|
|
136
136
|
* The row.
|
|
137
137
|
* @extends sap.ui.core.Element
|
|
138
|
-
* @version 1.
|
|
138
|
+
* @version 1.107.0
|
|
139
139
|
*
|
|
140
140
|
* @constructor
|
|
141
141
|
* @public
|
|
142
142
|
* @alias sap.ui.table.Row
|
|
143
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
144
143
|
*/
|
|
145
144
|
var Row = Element.extend("sap.ui.table.Row", /** @lends sap.ui.table.Row.prototype */ { metadata : {
|
|
146
145
|
library : "sap.ui.table",
|
|
@@ -240,7 +239,6 @@ sap.ui.define([
|
|
|
240
239
|
*
|
|
241
240
|
* @returns {int} index of the row (considers scroll position and fixed rows)
|
|
242
241
|
* @public
|
|
243
|
-
* @ui5-metamodel This method also will be described in the UI5 (legacy) designtime metamodel
|
|
244
242
|
*/
|
|
245
243
|
Row.prototype.getIndex = function() {
|
|
246
244
|
var oTable = this.getTable();
|
|
@@ -35,13 +35,12 @@ sap.ui.define([
|
|
|
35
35
|
* If more action items are available as the available space allows to display an overflow mechanism is provided.
|
|
36
36
|
* This control must only be used in the context of the <code>sap.ui.table.Table</code> control to define row actions.
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
|
-
* @version 1.
|
|
38
|
+
* @version 1.107.0
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
42
42
|
* @since 1.45
|
|
43
43
|
* @alias sap.ui.table.RowAction
|
|
44
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
45
44
|
*/
|
|
46
45
|
var RowAction = Control.extend("sap.ui.table.RowAction", /** @lends sap.ui.table.RowAction.prototype */ {
|
|
47
46
|
metadata: {
|
|
@@ -24,13 +24,12 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.107.0
|
|
28
28
|
* @since 1.45
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
32
32
|
* @alias sap.ui.table.RowActionItem
|
|
33
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
34
33
|
*/
|
|
35
34
|
var Item = Element.extend("sap.ui.table.RowActionItem", /** @lends sap.ui.table.RowActionItem.prototype */ {
|
|
36
35
|
metadata: {
|
|
@@ -24,13 +24,12 @@ sap.ui.define([
|
|
|
24
24
|
* The <code>RowSettings</code> control allows you to configure a row.
|
|
25
25
|
* You can only use this control in the context of the <code>sap.ui.table.Table</code> control to define row settings.
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.107.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
31
31
|
* @since 1.48.0
|
|
32
32
|
* @alias sap.ui.table.RowSettings
|
|
33
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
34
33
|
*/
|
|
35
34
|
var RowSettings = Element.extend("sap.ui.table.RowSettings", /** @lends sap.ui.table.RowSettings.prototype */ {
|
|
36
35
|
metadata: {
|