@openui5/sap.ui.table 1.96.23 → 1.96.25
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/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +1 -1
- package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +5 -13
- package/src/sap/ui/table/Column.js +1 -1
- package/src/sap/ui/table/ColumnMenu.js +1 -1
- package/src/sap/ui/table/CreationRow.js +1 -1
- package/src/sap/ui/table/Row.js +1 -1
- package/src/sap/ui/table/RowAction.js +1 -1
- package/src/sap/ui/table/RowActionItem.js +1 -1
- package/src/sap/ui/table/RowSettings.js +1 -1
- package/src/sap/ui/table/Table.js +44 -81
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TreeTable.js +24 -8
- package/src/sap/ui/table/extensions/Accessibility.js +1 -1
- 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 +1 -1
- package/src/sap/ui/table/extensions/Pointer.js +1 -1
- package/src/sap/ui/table/extensions/Scrolling.js +8 -1
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +1 -1
- package/src/sap/ui/table/library.js +10 -10
- package/src/sap/ui/table/messagebundle_en.properties +75 -0
- package/src/sap/ui/table/messagebundle_fi.properties +1 -1
- package/src/sap/ui/table/messagebundle_mk.properties +122 -0
- package/src/sap/ui/table/messagebundle_ru.properties +1 -1
- package/src/sap/ui/table/messagebundle_sh.properties +16 -16
- package/src/sap/ui/table/messagebundle_sr.properties +122 -0
- package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
- package/src/sap/ui/table/plugins/PluginBase.js +1 -1
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +9 -17
- package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
- package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
- package/src/sap/ui/table/rowmodes/AutoRowMode.js +2 -2
- package/src/sap/ui/table/rowmodes/FixedRowMode.js +2 -2
- package/src/sap/ui/table/rowmodes/InteractiveRowMode.js +2 -2
- package/src/sap/ui/table/rowmodes/RowMode.js +4 -10
- package/src/sap/ui/table/rowmodes/VariableRowMode.js +1 -1
- package/src/sap/ui/table/utils/TableUtils.js +1 -1
- package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
- package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
- package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
- package/src/sap/ui/table/utils/_HookUtils.js +1 -1
- package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.table",
|
|
3
|
-
"version": "1.96.
|
|
3
|
+
"version": "1.96.25",
|
|
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.96.
|
|
18
|
-
"@openui5/sap.ui.unified": "1.96.
|
|
17
|
+
"@openui5/sap.ui.core": "1.96.25",
|
|
18
|
+
"@openui5/sap.ui.unified": "1.96.25"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.96.
|
|
9
|
+
<version>1.96.25</version>
|
|
10
10
|
|
|
11
11
|
<documentation>Table-like controls, mainly for desktop scenarios.</documentation>
|
|
12
12
|
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* @see http://scn.sap.com/docs/DOC-44986
|
|
61
61
|
*
|
|
62
62
|
* @extends sap.ui.table.Table
|
|
63
|
-
* @version 1.96.
|
|
63
|
+
* @version 1.96.25
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -298,19 +298,11 @@ sap.ui.define([
|
|
|
298
298
|
return oModel;
|
|
299
299
|
};
|
|
300
300
|
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
* @private
|
|
305
|
-
*/
|
|
306
|
-
AnalyticalTable.prototype._onBindingChange = function(oEvent) {
|
|
307
|
-
Table.prototype._onBindingChange.apply(this, arguments);
|
|
308
|
-
// the column menus have to be invalidated when the amount
|
|
309
|
-
// of data changes in the Table; this happens on normal changes
|
|
310
|
-
// of the Table as well as when filtering
|
|
311
|
-
var sReason = typeof (oEvent) === "object" ? oEvent.getParameter("reason") : oEvent;
|
|
301
|
+
AnalyticalTable.prototype.updateRows = function(sReason) {
|
|
302
|
+
Table.prototype.updateRows.apply(this, arguments);
|
|
303
|
+
|
|
312
304
|
if (sReason !== "sort") {
|
|
313
|
-
this._invalidateColumnMenus();
|
|
305
|
+
this._invalidateColumnMenus(); // TODO: Is this needed?
|
|
314
306
|
}
|
|
315
307
|
};
|
|
316
308
|
|
package/src/sap/ui/table/Row.js
CHANGED
|
@@ -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.96.
|
|
38
|
+
* @version 1.96.25
|
|
39
39
|
*
|
|
40
40
|
* @constructor
|
|
41
41
|
* @public
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* The <code>RowSettings</code> control allows you to configure a row.
|
|
25
25
|
* You can only use this control in the context of the <code>sap.ui.table.Table</code> control to define row settings.
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
|
-
* @version 1.96.
|
|
27
|
+
* @version 1.96.25
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -94,7 +94,7 @@ sap.ui.define([
|
|
|
94
94
|
* the data model and binding being used.
|
|
95
95
|
* </p>
|
|
96
96
|
* @extends sap.ui.core.Control
|
|
97
|
-
* @version 1.96.
|
|
97
|
+
* @version 1.96.25
|
|
98
98
|
*
|
|
99
99
|
* @constructor
|
|
100
100
|
* @public
|
|
@@ -1430,6 +1430,7 @@ sap.ui.define([
|
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
1432
|
this._updateTableSizes(TableUtils.RowsUpdateReason.Render, true);
|
|
1433
|
+
this._adjustFirstVisibleRowToTotalRowCount(); // The number of rendered rows might have changed.
|
|
1433
1434
|
TableUtils.registerResizeHandler(this, "Table", this._onTableResize.bind(this));
|
|
1434
1435
|
|
|
1435
1436
|
this._bFirstRendering = false;
|
|
@@ -2086,13 +2087,7 @@ sap.ui.define([
|
|
|
2086
2087
|
* @param {sap.ui.base.Event} oEvent change event
|
|
2087
2088
|
* @private
|
|
2088
2089
|
*/
|
|
2089
|
-
Table.prototype._onBindingChange = function(oEvent) {
|
|
2090
|
-
var sReason = oEvent.getParameter("reason");
|
|
2091
|
-
|
|
2092
|
-
if (sReason === ChangeReason.Sort || sReason === ChangeReason.Filter) {
|
|
2093
|
-
this.setFirstVisibleRow(0);
|
|
2094
|
-
}
|
|
2095
|
-
};
|
|
2090
|
+
Table.prototype._onBindingChange = function(oEvent) {};
|
|
2096
2091
|
|
|
2097
2092
|
/*
|
|
2098
2093
|
* @see JSDoc generated by SAPUI5 control API generator
|
|
@@ -2349,101 +2344,53 @@ sap.ui.define([
|
|
|
2349
2344
|
* @returns {Object[]} Array of row contexts returned from the binding.
|
|
2350
2345
|
* @private
|
|
2351
2346
|
*/
|
|
2352
|
-
Table.prototype._getRowContexts = function(iRequestLength
|
|
2347
|
+
Table.prototype._getRowContexts = function(iRequestLength) {
|
|
2353
2348
|
var oBinding = this.getBinding();
|
|
2354
|
-
var
|
|
2349
|
+
var mRowCounts = this._getRowCounts();
|
|
2355
2350
|
var iThreshold = this.getThreshold();
|
|
2356
2351
|
|
|
2357
|
-
iRequestLength = iRequestLength == null ?
|
|
2352
|
+
iRequestLength = iRequestLength == null ? mRowCounts.count : iRequestLength;
|
|
2358
2353
|
|
|
2359
|
-
// If the threshold is not explicitly disabled by setting it to 0, the
|
|
2360
|
-
|
|
2354
|
+
// If the threshold is not explicitly disabled by setting it to 0, the threshold should be at least the number of scrollable rows.
|
|
2355
|
+
if (iThreshold !== 0) {
|
|
2356
|
+
iThreshold = Math.max(iRequestLength - mRowCounts.fixedTop - mRowCounts.fixedBottom, iThreshold);
|
|
2357
|
+
}
|
|
2361
2358
|
|
|
2362
|
-
iRequestLength = Math.max(iRequestLength, this._getRowMode().getMinRequestLength());
|
|
2359
|
+
iRequestLength = Math.max(iRequestLength, this._getRowMode().getMinRequestLength(), 0);
|
|
2363
2360
|
|
|
2364
|
-
if (!oBinding || iRequestLength
|
|
2365
|
-
// Without binding there are no contexts to be retrieved.
|
|
2361
|
+
if (!oBinding || iRequestLength === 0) {
|
|
2366
2362
|
return [];
|
|
2367
2363
|
}
|
|
2368
2364
|
|
|
2369
|
-
|
|
2370
|
-
|
|
2365
|
+
// Data can be requested with a single getContexts call if the fixed and the scrollable rows overlap.
|
|
2366
|
+
// Because of the AnalyticalTable, the fixed bottom rows can only be requested separately.
|
|
2371
2367
|
|
|
2372
2368
|
var iFirstRenderedRowIndex = this._getFirstRenderedRowIndex();
|
|
2373
|
-
var mRowCounts = this._getRowCounts();
|
|
2374
2369
|
var aContexts = [];
|
|
2375
|
-
var aTmpContexts;
|
|
2376
|
-
|
|
2377
|
-
// because of the analytical table the fixed bottom row must always be requested separately as it is the grand
|
|
2378
|
-
// total row for the table.
|
|
2379
|
-
var iLength = iRequestLength - mRowCounts.fixedBottom;
|
|
2380
|
-
var iMergeOffsetScrollRows = 0;
|
|
2381
|
-
var iMergeOffsetBottomRow = iLength;
|
|
2382
|
-
|
|
2383
|
-
// data can be requested with a single getContexts call if the fixed rows and the scrollable rows overlap.
|
|
2384
|
-
var iStartIndex = iFirstRenderedRowIndex;
|
|
2385
|
-
|
|
2386
|
-
var fnMergeArrays = function(aTarget, aSource, iStartIndex) {
|
|
2387
|
-
for (var i = 0; i < aSource.length; i++) {
|
|
2388
|
-
aTarget[iStartIndex + i] = aSource[i];
|
|
2389
|
-
}
|
|
2390
|
-
};
|
|
2391
2370
|
|
|
2392
2371
|
if (mRowCounts.fixedTop > 0 && iFirstRenderedRowIndex > 0) {
|
|
2393
|
-
//
|
|
2394
|
-
//
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
iMergeOffsetScrollRows = mRowCounts.fixedTop;
|
|
2400
|
-
// retrieve fixed rows separately
|
|
2401
|
-
aTmpContexts = this._getFixedRowContexts();
|
|
2402
|
-
aContexts = aContexts.concat(aTmpContexts);
|
|
2403
|
-
}
|
|
2404
|
-
|
|
2405
|
-
// request scroll part contexts but may include fixed rows depending on scroll and length settings
|
|
2406
|
-
// if this is done before requesting fixed bottom rows, it saves some performance for the analytical table
|
|
2407
|
-
// since the tree gets only build once (as result of getContexts call). If first the fixed bottom row would
|
|
2408
|
-
// be requested the analytical binding would build the tree twice.
|
|
2409
|
-
aTmpContexts = this._getContexts(iStartIndex, iLength, iThreshold);
|
|
2410
|
-
|
|
2411
|
-
if (!bSuppressAdjustToBindingLength) {
|
|
2412
|
-
this._adjustToTotalRowCount();
|
|
2372
|
+
// If there is a gap between the first visible row and fixed top rows, the fixed top rows need to be requested separately.
|
|
2373
|
+
// The first visible row always starts at index 0 in the scrollable part, no matter how many fixed top rows there are.
|
|
2374
|
+
mergeContextArrays(aContexts, this._getFixedRowContexts(), 0);
|
|
2375
|
+
mergeContextArrays(aContexts, this._getContexts(iFirstRenderedRowIndex + mRowCounts.fixedTop, iRequestLength - mRowCounts.fixedBottom - mRowCounts.fixedTop, iThreshold), mRowCounts.fixedTop);
|
|
2376
|
+
} else {
|
|
2377
|
+
mergeContextArrays(aContexts, this._getContexts(iFirstRenderedRowIndex, iRequestLength - mRowCounts.fixedBottom, iThreshold), 0);
|
|
2413
2378
|
}
|
|
2414
2379
|
|
|
2415
|
-
var iTotalRowCount = this._getTotalRowCount();
|
|
2416
|
-
|
|
2417
|
-
// get the binding length after getContext call to make sure that for TreeBindings the client tree was correctly rebuilt
|
|
2418
|
-
// this step can be moved to an earlier point when the TreeBindingAdapters all implement tree invalidation in case of getLength calls
|
|
2419
|
-
fnMergeArrays(aContexts, aTmpContexts, iMergeOffsetScrollRows);
|
|
2420
|
-
|
|
2421
|
-
// request binding length after getContexts call to make sure that in case of tree binding and analytical binding
|
|
2422
|
-
// the tree gets only built once (by getContexts call).
|
|
2423
|
-
iMergeOffsetBottomRow = Math.min(iMergeOffsetBottomRow, Math.max(iTotalRowCount - mRowCounts.fixedBottom, 0));
|
|
2424
2380
|
if (mRowCounts.fixedBottom > 0) {
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
// to the correct row index otherwise they would flip into the scroll area in case data gets requested for
|
|
2428
|
-
// the scroll part.
|
|
2429
|
-
aTmpContexts = this._getFixedBottomRowContexts();
|
|
2430
|
-
fnMergeArrays(aContexts, aTmpContexts, iMergeOffsetBottomRow);
|
|
2431
|
-
}
|
|
2432
|
-
|
|
2433
|
-
// If the Binding#getContexts call triggers recalculation of the binding length, the first visible row index needs to be corrected and a new
|
|
2434
|
-
// context range needs to be requested.
|
|
2435
|
-
|
|
2436
|
-
var iMaxRowIndex = this._getMaxFirstRenderedRowIndex();
|
|
2437
|
-
if (iMaxRowIndex < iFirstRenderedRowIndex && this._bContextsAvailable && !bSecondCall) {
|
|
2438
|
-
this._setFirstVisibleRowIndex(this.getFirstVisibleRow(), {
|
|
2439
|
-
onlySetProperty: true
|
|
2440
|
-
});
|
|
2441
|
-
aContexts = this._getRowContexts(iRequestLength, bSuppressAdjustToBindingLength, true);
|
|
2381
|
+
mergeContextArrays(aContexts, this._getFixedBottomRowContexts(),
|
|
2382
|
+
Math.min(mRowCounts.fixedTop + mRowCounts.scrollable, Math.max(this._getTotalRowCount() - mRowCounts.fixedBottom, 0)));
|
|
2442
2383
|
}
|
|
2443
2384
|
|
|
2444
2385
|
return aContexts;
|
|
2445
2386
|
};
|
|
2446
2387
|
|
|
2388
|
+
function mergeContextArrays(aTarget, aSource, iStartIndex) {
|
|
2389
|
+
for (var i = 0; i < aSource.length; i++) {
|
|
2390
|
+
aTarget[iStartIndex + i] = aSource[i];
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2447
2394
|
/**
|
|
2448
2395
|
* Updates the UI according to the current total row count.
|
|
2449
2396
|
*
|
|
@@ -2455,10 +2402,20 @@ sap.ui.define([
|
|
|
2455
2402
|
if (this._iBindingLength !== iTotalRowCount) {
|
|
2456
2403
|
this._iBindingLength = iTotalRowCount;
|
|
2457
2404
|
this._updateFixedBottomRows();
|
|
2405
|
+
this._adjustFirstVisibleRowToTotalRowCount();
|
|
2458
2406
|
TableUtils.Hook.call(this, Hook.TotalRowCountChanged);
|
|
2459
2407
|
}
|
|
2460
2408
|
};
|
|
2461
2409
|
|
|
2410
|
+
Table.prototype._adjustFirstVisibleRowToTotalRowCount = function() {
|
|
2411
|
+
var iCurrentIndex = this.getFirstVisibleRow();
|
|
2412
|
+
var iMaxIndex = this._getMaxFirstVisibleRowIndex();
|
|
2413
|
+
|
|
2414
|
+
if (iMaxIndex < iCurrentIndex && this._bContextsAvailable) {
|
|
2415
|
+
this._setFirstVisibleRowIndex(iMaxIndex, {onlySetProperty: true});
|
|
2416
|
+
}
|
|
2417
|
+
};
|
|
2418
|
+
|
|
2462
2419
|
/**
|
|
2463
2420
|
* Notifies about a binding refresh - called internally by the <code>ManagedObject</code> when the binding fires a "refresh" event.
|
|
2464
2421
|
* Only relevant for server-side bindings. The table is expected to call <code>Binding#getContexts</code>, which triggers a data request. The
|
|
@@ -2504,6 +2461,12 @@ sap.ui.define([
|
|
|
2504
2461
|
}
|
|
2505
2462
|
|
|
2506
2463
|
this._bContextsAvailable = true;
|
|
2464
|
+
|
|
2465
|
+
if (sReason === ChangeReason.Sort || sReason === ChangeReason.Filter) {
|
|
2466
|
+
this.setFirstVisibleRow(0);
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
this._adjustToTotalRowCount();
|
|
2507
2470
|
triggerRowsUpdate(this, sReason);
|
|
2508
2471
|
};
|
|
2509
2472
|
|
|
@@ -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.96.
|
|
43
|
+
* @version 1.96.25
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @public
|
|
@@ -376,17 +376,33 @@ sap.ui.define([
|
|
|
376
376
|
}
|
|
377
377
|
};
|
|
378
378
|
|
|
379
|
-
TreeTable.prototype._getRowContexts = function() {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
379
|
+
TreeTable.prototype._getRowContexts = function(iRequestLength) {
|
|
380
|
+
return getRowContexts(this, iRequestLength);
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
function getRowContexts(oTable, iRequestLength, bSecondCall) {
|
|
384
|
+
var iOldTotalRowCount = oTable._getTotalRowCount();
|
|
385
|
+
var aRowContexts = Table.prototype._getRowContexts.call(oTable, iRequestLength);
|
|
386
|
+
|
|
387
|
+
if (bSecondCall === true) {
|
|
388
|
+
return aRowContexts;
|
|
389
|
+
}
|
|
383
390
|
|
|
384
|
-
|
|
385
|
-
|
|
391
|
+
var iNewTotalRowCount = oTable._getTotalRowCount();
|
|
392
|
+
var iFirstVisibleRow = oTable._getFirstRenderedRowIndex();
|
|
393
|
+
var iMaxRowIndex = oTable._getMaxFirstRenderedRowIndex();
|
|
394
|
+
|
|
395
|
+
oTable._adjustToTotalRowCount();
|
|
396
|
+
|
|
397
|
+
if (iMaxRowIndex < iFirstVisibleRow && oTable._bContextsAvailable) {
|
|
398
|
+
// Get the contexts again, this time with the maximum possible value for the first visible row.
|
|
399
|
+
aRowContexts = getRowContexts(oTable, iRequestLength, true);
|
|
400
|
+
} else if (iOldTotalRowCount !== iNewTotalRowCount) {
|
|
401
|
+
aRowContexts = getRowContexts(oTable, iRequestLength, true);
|
|
386
402
|
}
|
|
387
403
|
|
|
388
404
|
return aRowContexts;
|
|
389
|
-
}
|
|
405
|
+
}
|
|
390
406
|
|
|
391
407
|
TreeTable.prototype._onGroupHeaderChanged = function(iRowIndex, bExpanded) {
|
|
392
408
|
this.fireToggleOpenState({
|
|
@@ -902,7 +902,7 @@ sap.ui.define([
|
|
|
902
902
|
* @class Extension for sap.ui.table.Table which handles ACC related things.
|
|
903
903
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
904
904
|
* @author SAP SE
|
|
905
|
-
* @version 1.96.
|
|
905
|
+
* @version 1.96.25
|
|
906
906
|
* @constructor
|
|
907
907
|
* @private
|
|
908
908
|
* @alias sap.ui.table.extensions.Accessibility
|
|
@@ -28,6 +28,8 @@ sap.ui.define([
|
|
|
28
28
|
oRm.openEnd();
|
|
29
29
|
if (sText) {
|
|
30
30
|
oRm.text(sText);
|
|
31
|
+
} else {
|
|
32
|
+
oRm.text("-"); // This is a workaround for a Chrome bug, BCP: 2370127818
|
|
31
33
|
}
|
|
32
34
|
oRm.close("span");
|
|
33
35
|
};
|
|
@@ -42,7 +44,7 @@ sap.ui.define([
|
|
|
42
44
|
* @class Extension for sap.ui.table.TableRenderer which handles ACC related things.
|
|
43
45
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
44
46
|
* @author SAP SE
|
|
45
|
-
* @version 1.96.
|
|
47
|
+
* @version 1.96.25
|
|
46
48
|
* @constructor
|
|
47
49
|
* @private
|
|
48
50
|
* @alias sap.ui.table.extensions.AccessibilityRender
|
|
@@ -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.96.
|
|
270
|
+
* @version 1.96.25
|
|
271
271
|
* @constructor
|
|
272
272
|
* @private
|
|
273
273
|
* @alias sap.ui.table.extensions.Keyboard
|
|
@@ -792,7 +792,7 @@ sap.ui.define([
|
|
|
792
792
|
* @class Extension for sap.ui.table.Table which handles mouse and touch related things.
|
|
793
793
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
794
794
|
* @author SAP SE
|
|
795
|
-
* @version 1.96.
|
|
795
|
+
* @version 1.96.25
|
|
796
796
|
* @constructor
|
|
797
797
|
* @private
|
|
798
798
|
* @alias sap.ui.table.extensions.Pointer
|
|
@@ -1869,6 +1869,13 @@ sap.ui.define([
|
|
|
1869
1869
|
|
|
1870
1870
|
} else if (!bHorizontalScrolling && (mOptions.scrollDirection === ScrollDirection.VERTICAL
|
|
1871
1871
|
|| mOptions.scrollDirection === ScrollDirection.BOTH)) {
|
|
1872
|
+
if (oEvent.target instanceof window.HTMLTextAreaElement) {
|
|
1873
|
+
var oTextAreaRef = oEvent.target;
|
|
1874
|
+
if (oTextAreaRef.clientHeight < oTextAreaRef.scrollHeight) {
|
|
1875
|
+
return;
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1872
1879
|
var oVSb = oScrollExtension.getVerticalScrollbar();
|
|
1873
1880
|
var oVerticalScrollPosition = _private(this).oVerticalScrollPosition;
|
|
1874
1881
|
|
|
@@ -2291,7 +2298,7 @@ sap.ui.define([
|
|
|
2291
2298
|
* @class Extension for sap.ui.table.Table which handles scrolling.
|
|
2292
2299
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
2293
2300
|
* @author SAP SE
|
|
2294
|
-
* @version 1.96.
|
|
2301
|
+
* @version 1.96.25
|
|
2295
2302
|
* @constructor
|
|
2296
2303
|
* @private
|
|
2297
2304
|
* @alias sap.ui.table.extensions.Scrolling
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @class Extension for sap.ui.table.Table which handles the scrollbar on iOS.
|
|
30
30
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.96.
|
|
32
|
+
* @version 1.96.25
|
|
33
33
|
* @constructor
|
|
34
34
|
* @private
|
|
35
35
|
* @alias sap.ui.table.extensions.ScrollingIOS
|
|
@@ -143,7 +143,7 @@ sap.ui.define([
|
|
|
143
143
|
* @class Extension for sap.ui.table.Table that allows synchronization with a table.
|
|
144
144
|
* @extends sap.ui.table.extensions.ExtensionBase
|
|
145
145
|
* @author SAP SE
|
|
146
|
-
* @version 1.96.
|
|
146
|
+
* @version 1.96.25
|
|
147
147
|
* @constructor
|
|
148
148
|
* @private
|
|
149
149
|
* @alias sap.ui.table.extensions.Synchronization
|
|
@@ -17,7 +17,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
17
17
|
// delegate further initialization of this library to the Core
|
|
18
18
|
sap.ui.getCore().initLibrary({
|
|
19
19
|
name : "sap.ui.table",
|
|
20
|
-
version: "1.96.
|
|
20
|
+
version: "1.96.25",
|
|
21
21
|
dependencies : ["sap.ui.core","sap.ui.unified"],
|
|
22
22
|
designtime: "sap/ui/table/designtime/library.designtime",
|
|
23
23
|
types: [
|
|
@@ -74,7 +74,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
74
74
|
* @namespace
|
|
75
75
|
* @alias sap.ui.table
|
|
76
76
|
* @author SAP SE
|
|
77
|
-
* @version 1.96.
|
|
77
|
+
* @version 1.96.25
|
|
78
78
|
* @since 0.8
|
|
79
79
|
* @public
|
|
80
80
|
*/
|
|
@@ -83,7 +83,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
83
83
|
/**
|
|
84
84
|
* Navigation mode of the table
|
|
85
85
|
*
|
|
86
|
-
* @version 1.96.
|
|
86
|
+
* @version 1.96.25
|
|
87
87
|
* @enum {string}
|
|
88
88
|
* @public
|
|
89
89
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -111,7 +111,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
111
111
|
/**
|
|
112
112
|
* Row Action types.
|
|
113
113
|
*
|
|
114
|
-
* @version 1.96.
|
|
114
|
+
* @version 1.96.25
|
|
115
115
|
* @enum {string}
|
|
116
116
|
* @public
|
|
117
117
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -142,7 +142,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
142
142
|
/**
|
|
143
143
|
* Selection behavior of the table
|
|
144
144
|
*
|
|
145
|
-
* @version 1.96.
|
|
145
|
+
* @version 1.96.25
|
|
146
146
|
* @enum {string}
|
|
147
147
|
* @public
|
|
148
148
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -173,7 +173,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
173
173
|
/**
|
|
174
174
|
* Selection mode of the table
|
|
175
175
|
*
|
|
176
|
-
* @version 1.96.
|
|
176
|
+
* @version 1.96.25
|
|
177
177
|
* @enum {string}
|
|
178
178
|
* @public
|
|
179
179
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -211,7 +211,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
211
211
|
/**
|
|
212
212
|
* Sort order of a column
|
|
213
213
|
*
|
|
214
|
-
* @version 1.96.
|
|
214
|
+
* @version 1.96.25
|
|
215
215
|
* @enum {string}
|
|
216
216
|
* @public
|
|
217
217
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -236,7 +236,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
236
236
|
/**
|
|
237
237
|
* VisibleRowCountMode of the table
|
|
238
238
|
*
|
|
239
|
-
* @version 1.96.
|
|
239
|
+
* @version 1.96.25
|
|
240
240
|
* @enum {string}
|
|
241
241
|
* @public
|
|
242
242
|
* @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
|
|
@@ -268,7 +268,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
268
268
|
*
|
|
269
269
|
* Contains IDs of shared DOM references, which should be accessible to inheriting controls via getDomRef() function.
|
|
270
270
|
*
|
|
271
|
-
* @version 1.96.
|
|
271
|
+
* @version 1.96.25
|
|
272
272
|
* @enum {string}
|
|
273
273
|
* @public
|
|
274
274
|
*/
|
|
@@ -366,7 +366,7 @@ sap.ui.define(['sap/ui/core/Core', 'sap/ui/model/TreeAutoExpandMode',
|
|
|
366
366
|
*
|
|
367
367
|
* This is an alias for {@link sap.ui.model.TreeAutoExpandMode} and kept for compatibility reasons.
|
|
368
368
|
*
|
|
369
|
-
* @version 1.96.
|
|
369
|
+
* @version 1.96.25
|
|
370
370
|
* @typedef {sap.ui.model.TreeAutoExpandMode}
|
|
371
371
|
* @public
|
|
372
372
|
*/
|