@openui5/types 1.113.0 → 1.115.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/package.json +1 -1
- package/types/sap.f.d.ts +1416 -1005
- package/types/sap.m.d.ts +7415 -5818
- package/types/sap.tnt.d.ts +138 -67
- package/types/sap.ui.codeeditor.d.ts +37 -30
- package/types/sap.ui.commons.d.ts +936 -708
- package/types/sap.ui.core.d.ts +6435 -3941
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +102 -82
- package/types/sap.ui.integration.d.ts +2489 -2327
- package/types/sap.ui.layout.d.ts +378 -398
- package/types/sap.ui.mdc.d.ts +22041 -115
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +13 -11
- package/types/sap.ui.support.d.ts +7 -7
- package/types/sap.ui.table.d.ts +628 -478
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1013 -723
- package/types/sap.ui.ux3.d.ts +847 -592
- package/types/sap.ui.webc.common.d.ts +5 -3
- package/types/sap.ui.webc.fiori.d.ts +530 -345
- package/types/sap.ui.webc.main.d.ts +1114 -835
- package/types/sap.uxap.d.ts +309 -222
package/types/sap.ui.table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.115.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/table/library" {
|
|
4
4
|
import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
|
|
@@ -194,7 +194,7 @@ declare module "sap/ui/table/AnalyticalColumn" {
|
|
|
194
194
|
* This column adds additional properties to the table column which are needed for the analytical binding
|
|
195
195
|
* and table
|
|
196
196
|
*/
|
|
197
|
-
|
|
197
|
+
class AnalyticalColumn extends Column {
|
|
198
198
|
/**
|
|
199
199
|
* Constructor for a new AnalyticalColumn.
|
|
200
200
|
*
|
|
@@ -389,6 +389,7 @@ declare module "sap/ui/table/AnalyticalColumn" {
|
|
|
389
389
|
bSummed?: boolean
|
|
390
390
|
): this;
|
|
391
391
|
}
|
|
392
|
+
export default AnalyticalColumn;
|
|
392
393
|
|
|
393
394
|
export interface $AnalyticalColumnSettings extends $ColumnSettings {
|
|
394
395
|
/**
|
|
@@ -434,7 +435,7 @@ declare module "sap/ui/table/AnalyticalColumnMenu" {
|
|
|
434
435
|
*
|
|
435
436
|
* A column menu which is used by the analytical column
|
|
436
437
|
*/
|
|
437
|
-
|
|
438
|
+
class AnalyticalColumnMenu extends ColumnMenu {
|
|
438
439
|
/**
|
|
439
440
|
* Constructor for a new AnalyticalColumnMenu.
|
|
440
441
|
*
|
|
@@ -442,8 +443,8 @@ declare module "sap/ui/table/AnalyticalColumnMenu" {
|
|
|
442
443
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
443
444
|
* of the syntax of the settings object.
|
|
444
445
|
*
|
|
445
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.table.ColumnMenu#constructor
|
|
446
|
-
*
|
|
446
|
+
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.table.ColumnMenu#constructor sap.ui.table.ColumnMenu }
|
|
447
|
+
* can be used.
|
|
447
448
|
*/
|
|
448
449
|
constructor(
|
|
449
450
|
/**
|
|
@@ -458,8 +459,8 @@ declare module "sap/ui/table/AnalyticalColumnMenu" {
|
|
|
458
459
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
459
460
|
* of the syntax of the settings object.
|
|
460
461
|
*
|
|
461
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.table.ColumnMenu#constructor
|
|
462
|
-
*
|
|
462
|
+
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.table.ColumnMenu#constructor sap.ui.table.ColumnMenu }
|
|
463
|
+
* can be used.
|
|
463
464
|
*/
|
|
464
465
|
constructor(
|
|
465
466
|
/**
|
|
@@ -502,6 +503,7 @@ declare module "sap/ui/table/AnalyticalColumnMenu" {
|
|
|
502
503
|
*/
|
|
503
504
|
static getMetadata(): ElementMetadata;
|
|
504
505
|
}
|
|
506
|
+
export default AnalyticalColumnMenu;
|
|
505
507
|
|
|
506
508
|
export interface $AnalyticalColumnMenuSettings extends $ColumnMenuSettings {}
|
|
507
509
|
}
|
|
@@ -524,7 +526,7 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
524
526
|
* and correctly annotated OData services. Please check on the SAP Annotations for OData Version 2.0 documentation
|
|
525
527
|
* for further details.
|
|
526
528
|
*/
|
|
527
|
-
|
|
529
|
+
class AnalyticalTable extends Table {
|
|
528
530
|
/**
|
|
529
531
|
* Constructor for a new AnalyticalTable.
|
|
530
532
|
*
|
|
@@ -533,7 +535,7 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
533
535
|
* of the syntax of the settings object.
|
|
534
536
|
* See:
|
|
535
537
|
* https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
|
|
536
|
-
* {@link topic
|
|
538
|
+
* {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
|
|
537
539
|
* {@link fiori:/analytical-table-alv/ Analytical Table}
|
|
538
540
|
*/
|
|
539
541
|
constructor(
|
|
@@ -550,7 +552,7 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
550
552
|
* of the syntax of the settings object.
|
|
551
553
|
* See:
|
|
552
554
|
* https://github.com/SAP/odata-vocabularies/blob/main/docs/v2-annotations.md
|
|
553
|
-
* {@link topic
|
|
555
|
+
* {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
|
|
554
556
|
* {@link fiori:/analytical-table-alv/ Analytical Table}
|
|
555
557
|
*/
|
|
556
558
|
constructor(
|
|
@@ -1130,6 +1132,7 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
1130
1132
|
*/
|
|
1131
1133
|
suspendUpdateAnalyticalInfo(): void;
|
|
1132
1134
|
}
|
|
1135
|
+
export default AnalyticalTable;
|
|
1133
1136
|
|
|
1134
1137
|
export interface $AnalyticalTableSettings extends $TableSettings {
|
|
1135
1138
|
/**
|
|
@@ -1244,8 +1247,6 @@ declare module "sap/ui/table/Column" {
|
|
|
1244
1247
|
|
|
1245
1248
|
import Event from "sap/ui/base/Event";
|
|
1246
1249
|
|
|
1247
|
-
import Menu from "sap/ui/unified/Menu";
|
|
1248
|
-
|
|
1249
1250
|
import {
|
|
1250
1251
|
HorizontalAlign,
|
|
1251
1252
|
ID,
|
|
@@ -1253,6 +1254,8 @@ declare module "sap/ui/table/Column" {
|
|
|
1253
1254
|
IColumnHeaderMenu,
|
|
1254
1255
|
} from "sap/ui/core/library";
|
|
1255
1256
|
|
|
1257
|
+
import Menu from "sap/ui/unified/Menu";
|
|
1258
|
+
|
|
1256
1259
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
1257
1260
|
|
|
1258
1261
|
import { SortOrder } from "sap/ui/table/library";
|
|
@@ -1265,7 +1268,7 @@ declare module "sap/ui/table/Column" {
|
|
|
1265
1268
|
/**
|
|
1266
1269
|
* The column allows you to define column specific properties that will be applied when rendering the table.
|
|
1267
1270
|
*/
|
|
1268
|
-
|
|
1271
|
+
class Column extends UI5Element {
|
|
1269
1272
|
/**
|
|
1270
1273
|
* Constructor for a new Column.
|
|
1271
1274
|
*
|
|
@@ -1361,7 +1364,7 @@ declare module "sap/ui/table/Column" {
|
|
|
1361
1364
|
/**
|
|
1362
1365
|
* The function to be called when the event occurs
|
|
1363
1366
|
*/
|
|
1364
|
-
fnFunction: (p1: Event) => void,
|
|
1367
|
+
fnFunction: (p1: Event<$ColumnColumnMenuOpenEventParameters>) => void,
|
|
1365
1368
|
/**
|
|
1366
1369
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Column` itself
|
|
1367
1370
|
*/
|
|
@@ -1384,7 +1387,7 @@ declare module "sap/ui/table/Column" {
|
|
|
1384
1387
|
/**
|
|
1385
1388
|
* The function to be called when the event occurs
|
|
1386
1389
|
*/
|
|
1387
|
-
fnFunction: (p1: Event) => void,
|
|
1390
|
+
fnFunction: (p1: Event<$ColumnColumnMenuOpenEventParameters>) => void,
|
|
1388
1391
|
/**
|
|
1389
1392
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Column` itself
|
|
1390
1393
|
*/
|
|
@@ -1430,7 +1433,7 @@ declare module "sap/ui/table/Column" {
|
|
|
1430
1433
|
/**
|
|
1431
1434
|
* The function to be called, when the event occurs
|
|
1432
1435
|
*/
|
|
1433
|
-
fnFunction: (p1: Event) => void,
|
|
1436
|
+
fnFunction: (p1: Event<$ColumnColumnMenuOpenEventParameters>) => void,
|
|
1434
1437
|
/**
|
|
1435
1438
|
* Context object on which the given function had to be called
|
|
1436
1439
|
*/
|
|
@@ -1451,12 +1454,7 @@ declare module "sap/ui/table/Column" {
|
|
|
1451
1454
|
/**
|
|
1452
1455
|
* Parameters to pass along with the event
|
|
1453
1456
|
*/
|
|
1454
|
-
mParameters?:
|
|
1455
|
-
/**
|
|
1456
|
-
* Refence to the selected `menu` instance to be opened.
|
|
1457
|
-
*/
|
|
1458
|
-
menu?: Menu;
|
|
1459
|
-
}
|
|
1457
|
+
mParameters?: $ColumnColumnMenuOpenEventParameters
|
|
1460
1458
|
): boolean;
|
|
1461
1459
|
/**
|
|
1462
1460
|
* @SINCE 1.21.1
|
|
@@ -1487,8 +1485,7 @@ declare module "sap/ui/table/Column" {
|
|
|
1487
1485
|
* Gets current value of property {@link #getFiltered filtered}.
|
|
1488
1486
|
*
|
|
1489
1487
|
* Indicates if the column is filtered. This property only controls if a filter indicator is displayed in
|
|
1490
|
-
* the column header - it does not trigger the filter function. The column can be filtered using {@link
|
|
1491
|
-
* sap.ui.table.Table#filter}.
|
|
1488
|
+
* the column header - it does not trigger the filter function. The column can be filtered using {@link sap.ui.table.Table#filter}.
|
|
1492
1489
|
*
|
|
1493
1490
|
* Default value is `false`.
|
|
1494
1491
|
*
|
|
@@ -1527,8 +1524,8 @@ declare module "sap/ui/table/Column" {
|
|
|
1527
1524
|
* be set to the class name of the type, e.g.: `sap.ui.model.type.Date`, or an expression similar to the
|
|
1528
1525
|
* binding syntax, e.g.: `"\{type: 'sap.ui.model.type.Date', formatOptions: \{UTC: true\}, constraints:
|
|
1529
1526
|
* \{\} \}"`. Here the escaping is mandatory to avoid handling by the binding parser. As an alternative,
|
|
1530
|
-
* a function can be passed that takes over the conversion. This cannot be done in the XMLView, use {@link
|
|
1531
|
-
*
|
|
1527
|
+
* a function can be passed that takes over the conversion. This cannot be done in the XMLView, use {@link #setFilterType }
|
|
1528
|
+
* instead.
|
|
1532
1529
|
*
|
|
1533
1530
|
* @returns Value of property `filterType`
|
|
1534
1531
|
*/
|
|
@@ -1748,7 +1745,7 @@ declare module "sap/ui/table/Column" {
|
|
|
1748
1745
|
* for the changes to take effect. If a string is defined, a default text control will be created with its
|
|
1749
1746
|
* text property bound to the value of the string. The default template depends on the libraries loaded.
|
|
1750
1747
|
* If there is no template, the column will not be rendered in the table. The set of supported controls
|
|
1751
|
-
* is limited. See section "{@link topic
|
|
1748
|
+
* is limited. See section "{@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}"
|
|
1752
1749
|
* in the documentation for more details. While it is technically possible to also use other controls, doing
|
|
1753
1750
|
* so might lead to issues with regards to scrolling, alignment, condensed mode, screen reader support,
|
|
1754
1751
|
* and keyboard support.
|
|
@@ -1888,8 +1885,7 @@ declare module "sap/ui/table/Column" {
|
|
|
1888
1885
|
* Sets a new value for property {@link #getFiltered filtered}.
|
|
1889
1886
|
*
|
|
1890
1887
|
* Indicates if the column is filtered. This property only controls if a filter indicator is displayed in
|
|
1891
|
-
* the column header - it does not trigger the filter function. The column can be filtered using {@link
|
|
1892
|
-
* sap.ui.table.Table#filter}.
|
|
1888
|
+
* the column header - it does not trigger the filter function. The column can be filtered using {@link sap.ui.table.Table#filter}.
|
|
1893
1889
|
*
|
|
1894
1890
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1895
1891
|
*
|
|
@@ -2327,6 +2323,7 @@ declare module "sap/ui/table/Column" {
|
|
|
2327
2323
|
*/
|
|
2328
2324
|
toggleSort(): void;
|
|
2329
2325
|
}
|
|
2326
|
+
export default Column;
|
|
2330
2327
|
|
|
2331
2328
|
export interface $ColumnSettings extends $ElementSettings {
|
|
2332
2329
|
/**
|
|
@@ -2401,8 +2398,7 @@ declare module "sap/ui/table/Column" {
|
|
|
2401
2398
|
|
|
2402
2399
|
/**
|
|
2403
2400
|
* Indicates if the column is filtered. This property only controls if a filter indicator is displayed in
|
|
2404
|
-
* the column header - it does not trigger the filter function. The column can be filtered using {@link
|
|
2405
|
-
* sap.ui.table.Table#filter}.
|
|
2401
|
+
* the column header - it does not trigger the filter function. The column can be filtered using {@link sap.ui.table.Table#filter}.
|
|
2406
2402
|
*/
|
|
2407
2403
|
filtered?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
2408
2404
|
|
|
@@ -2456,8 +2452,8 @@ declare module "sap/ui/table/Column" {
|
|
|
2456
2452
|
* be set to the class name of the type, e.g.: `sap.ui.model.type.Date`, or an expression similar to the
|
|
2457
2453
|
* binding syntax, e.g.: `"\{type: 'sap.ui.model.type.Date', formatOptions: \{UTC: true\}, constraints:
|
|
2458
2454
|
* \{\} \}"`. Here the escaping is mandatory to avoid handling by the binding parser. As an alternative,
|
|
2459
|
-
* a function can be passed that takes over the conversion. This cannot be done in the XMLView, use {@link
|
|
2460
|
-
*
|
|
2455
|
+
* a function can be passed that takes over the conversion. This cannot be done in the XMLView, use {@link #setFilterType }
|
|
2456
|
+
* instead.
|
|
2461
2457
|
*/
|
|
2462
2458
|
filterType?: any | PropertyBindingInfo | `{${string}}`;
|
|
2463
2459
|
|
|
@@ -2536,7 +2532,7 @@ declare module "sap/ui/table/Column" {
|
|
|
2536
2532
|
* for the changes to take effect. If a string is defined, a default text control will be created with its
|
|
2537
2533
|
* text property bound to the value of the string. The default template depends on the libraries loaded.
|
|
2538
2534
|
* If there is no template, the column will not be rendered in the table. The set of supported controls
|
|
2539
|
-
* is limited. See section "{@link topic
|
|
2535
|
+
* is limited. See section "{@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}"
|
|
2540
2536
|
* in the documentation for more details. While it is technically possible to also use other controls, doing
|
|
2541
2537
|
* so might lead to issues with regards to scrolling, alignment, condensed mode, screen reader support,
|
|
2542
2538
|
* and keyboard support.
|
|
@@ -2564,7 +2560,16 @@ declare module "sap/ui/table/Column" {
|
|
|
2564
2560
|
*
|
|
2565
2561
|
* Fires before the column menu is opened.
|
|
2566
2562
|
*/
|
|
2567
|
-
columnMenuOpen?: (
|
|
2563
|
+
columnMenuOpen?: (
|
|
2564
|
+
oEvent: Event<$ColumnColumnMenuOpenEventParameters>
|
|
2565
|
+
) => void;
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
export interface $ColumnColumnMenuOpenEventParameters {
|
|
2569
|
+
/**
|
|
2570
|
+
* Refence to the selected `menu` instance to be opened.
|
|
2571
|
+
*/
|
|
2572
|
+
menu?: Menu;
|
|
2568
2573
|
}
|
|
2569
2574
|
}
|
|
2570
2575
|
|
|
@@ -2576,7 +2581,7 @@ declare module "sap/ui/table/ColumnMenu" {
|
|
|
2576
2581
|
/**
|
|
2577
2582
|
* The column menu provides all common actions that can be performed on a column.
|
|
2578
2583
|
*/
|
|
2579
|
-
|
|
2584
|
+
class ColumnMenu extends Menu {
|
|
2580
2585
|
/**
|
|
2581
2586
|
* Constructor for a new ColumnMenu.
|
|
2582
2587
|
*
|
|
@@ -2588,8 +2593,8 @@ declare module "sap/ui/table/ColumnMenu" {
|
|
|
2588
2593
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
2589
2594
|
* of the syntax of the settings object.
|
|
2590
2595
|
*
|
|
2591
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.unified.Menu#constructor
|
|
2592
|
-
*
|
|
2596
|
+
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.unified.Menu#constructor sap.ui.unified.Menu }
|
|
2597
|
+
* can be used.
|
|
2593
2598
|
*/
|
|
2594
2599
|
constructor(
|
|
2595
2600
|
/**
|
|
@@ -2608,8 +2613,8 @@ declare module "sap/ui/table/ColumnMenu" {
|
|
|
2608
2613
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
2609
2614
|
* of the syntax of the settings object.
|
|
2610
2615
|
*
|
|
2611
|
-
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.unified.Menu#constructor
|
|
2612
|
-
*
|
|
2616
|
+
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.unified.Menu#constructor sap.ui.unified.Menu }
|
|
2617
|
+
* can be used.
|
|
2613
2618
|
*/
|
|
2614
2619
|
constructor(
|
|
2615
2620
|
/**
|
|
@@ -2652,6 +2657,7 @@ declare module "sap/ui/table/ColumnMenu" {
|
|
|
2652
2657
|
*/
|
|
2653
2658
|
static getMetadata(): ElementMetadata;
|
|
2654
2659
|
}
|
|
2660
|
+
export default ColumnMenu;
|
|
2655
2661
|
|
|
2656
2662
|
export interface $ColumnMenuSettings extends $MenuSettings {}
|
|
2657
2663
|
}
|
|
@@ -2660,6 +2666,7 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2660
2666
|
import {
|
|
2661
2667
|
default as SelectionPlugin,
|
|
2662
2668
|
$SelectionPluginSettings,
|
|
2669
|
+
$SelectionPluginSelectionChangeEventParameters,
|
|
2663
2670
|
} from "sap/ui/table/plugins/SelectionPlugin";
|
|
2664
2671
|
|
|
2665
2672
|
import Event from "sap/ui/base/Event";
|
|
@@ -2677,17 +2684,17 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2677
2684
|
* - No Select All checkbox, select all can only be done via range selection
|
|
2678
2685
|
* - Dedicated Deselect All button to clear the selection
|
|
2679
2686
|
* - The number of indices which can be selected in a range is defined by the `limit` property. If the
|
|
2680
|
-
*
|
|
2681
|
-
*
|
|
2687
|
+
* user tries to select more indices, the selection is automatically limited, and the table scrolls to the
|
|
2688
|
+
* last selected index.
|
|
2682
2689
|
* - The plugin makes sure that the corresponding binding contexts up to the given limit are available,
|
|
2683
|
-
*
|
|
2690
|
+
* by requesting them from the binding.
|
|
2684
2691
|
* - Multiple consecutive selections are possible
|
|
2685
2692
|
*
|
|
2686
2693
|
* This plugin is intended for server-side models and multi-selection mode. Range selections, including
|
|
2687
2694
|
* Select All, only work properly if the count is known. Make sure the model/binding is configured to request
|
|
2688
2695
|
* the count from the service. For ease of use, client-side models and single selection are also supported.
|
|
2689
2696
|
*/
|
|
2690
|
-
|
|
2697
|
+
class MultiSelectionPlugin extends SelectionPlugin {
|
|
2691
2698
|
/**
|
|
2692
2699
|
* Constructs an instance of sap.ui.table.plugins.MultiSelectionPlugin
|
|
2693
2700
|
*
|
|
@@ -2770,7 +2777,9 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2770
2777
|
/**
|
|
2771
2778
|
* The function to be called when the event occurs
|
|
2772
2779
|
*/
|
|
2773
|
-
fnFunction: (
|
|
2780
|
+
fnFunction: (
|
|
2781
|
+
p1: Event<$MultiSelectionPluginSelectionChangeEventParameters>
|
|
2782
|
+
) => void,
|
|
2774
2783
|
/**
|
|
2775
2784
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.plugins.MultiSelectionPlugin`
|
|
2776
2785
|
* itself
|
|
@@ -2792,7 +2801,9 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2792
2801
|
/**
|
|
2793
2802
|
* The function to be called when the event occurs
|
|
2794
2803
|
*/
|
|
2795
|
-
fnFunction: (
|
|
2804
|
+
fnFunction: (
|
|
2805
|
+
p1: Event<$MultiSelectionPluginSelectionChangeEventParameters>
|
|
2806
|
+
) => void,
|
|
2796
2807
|
/**
|
|
2797
2808
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.plugins.MultiSelectionPlugin`
|
|
2798
2809
|
* itself
|
|
@@ -2821,7 +2832,9 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2821
2832
|
/**
|
|
2822
2833
|
* The function to be called, when the event occurs
|
|
2823
2834
|
*/
|
|
2824
|
-
fnFunction: (
|
|
2835
|
+
fnFunction: (
|
|
2836
|
+
p1: Event<$MultiSelectionPluginSelectionChangeEventParameters>
|
|
2837
|
+
) => void,
|
|
2825
2838
|
/**
|
|
2826
2839
|
* Context object on which the given function had to be called
|
|
2827
2840
|
*/
|
|
@@ -2838,20 +2851,7 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2838
2851
|
/**
|
|
2839
2852
|
* Parameters to pass along with the event
|
|
2840
2853
|
*/
|
|
2841
|
-
mParameters?:
|
|
2842
|
-
/**
|
|
2843
|
-
* Array of indices whose selection has been changed (either selected or deselected)
|
|
2844
|
-
*/
|
|
2845
|
-
indices?: int[];
|
|
2846
|
-
/**
|
|
2847
|
-
* Indicates whether the selection limit has been reached
|
|
2848
|
-
*/
|
|
2849
|
-
limitReached?: boolean;
|
|
2850
|
-
/**
|
|
2851
|
-
* Contains the data passed to the function that triggered the event
|
|
2852
|
-
*/
|
|
2853
|
-
customPayload?: object;
|
|
2854
|
-
}
|
|
2854
|
+
mParameters?: $MultiSelectionPluginSelectionChangeEventParameters
|
|
2855
2855
|
): this;
|
|
2856
2856
|
/**
|
|
2857
2857
|
* @SINCE 1.71
|
|
@@ -2877,8 +2877,8 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2877
2877
|
* - With server-side models if they are used in client mode
|
|
2878
2878
|
* - If the entity set is small
|
|
2879
2879
|
*
|
|
2880
|
-
* In other cases, we recommend to set the limit to at least double the value of the {@link sap.ui.table.Table#getThreshold
|
|
2881
|
-
*
|
|
2880
|
+
* In other cases, we recommend to set the limit to at least double the value of the {@link sap.ui.table.Table#getThreshold threshold }
|
|
2881
|
+
* property of the related `sap.ui.table.Table` control.
|
|
2882
2882
|
*
|
|
2883
2883
|
* Default value is `200`.
|
|
2884
2884
|
*
|
|
@@ -2987,8 +2987,8 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
2987
2987
|
* - With server-side models if they are used in client mode
|
|
2988
2988
|
* - If the entity set is small
|
|
2989
2989
|
*
|
|
2990
|
-
* In other cases, we recommend to set the limit to at least double the value of the {@link sap.ui.table.Table#getThreshold
|
|
2991
|
-
*
|
|
2990
|
+
* In other cases, we recommend to set the limit to at least double the value of the {@link sap.ui.table.Table#getThreshold threshold }
|
|
2991
|
+
* property of the related `sap.ui.table.Table` control.
|
|
2992
2992
|
*
|
|
2993
2993
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2994
2994
|
*
|
|
@@ -3079,6 +3079,7 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
3079
3079
|
bShowHeaderSelector?: boolean
|
|
3080
3080
|
): this;
|
|
3081
3081
|
}
|
|
3082
|
+
export default MultiSelectionPlugin;
|
|
3082
3083
|
|
|
3083
3084
|
export interface $MultiSelectionPluginSettings
|
|
3084
3085
|
extends $SelectionPluginSettings {
|
|
@@ -3092,8 +3093,8 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
3092
3093
|
* - With server-side models if they are used in client mode
|
|
3093
3094
|
* - If the entity set is small
|
|
3094
3095
|
*
|
|
3095
|
-
* In other cases, we recommend to set the limit to at least double the value of the {@link sap.ui.table.Table#getThreshold
|
|
3096
|
-
*
|
|
3096
|
+
* In other cases, we recommend to set the limit to at least double the value of the {@link sap.ui.table.Table#getThreshold threshold }
|
|
3097
|
+
* property of the related `sap.ui.table.Table` control.
|
|
3097
3098
|
*/
|
|
3098
3099
|
limit?: int | PropertyBindingInfo | `{${string}}`;
|
|
3099
3100
|
|
|
@@ -3122,7 +3123,27 @@ declare module "sap/ui/table/plugins/MultiSelectionPlugin" {
|
|
|
3122
3123
|
/**
|
|
3123
3124
|
* This event is fired when the selection is changed.
|
|
3124
3125
|
*/
|
|
3125
|
-
selectionChange?: (
|
|
3126
|
+
selectionChange?: (
|
|
3127
|
+
oEvent: Event<$MultiSelectionPluginSelectionChangeEventParameters>
|
|
3128
|
+
) => void;
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
export interface $MultiSelectionPluginSelectionChangeEventParameters
|
|
3132
|
+
extends $SelectionPluginSelectionChangeEventParameters {
|
|
3133
|
+
/**
|
|
3134
|
+
* Array of indices whose selection has been changed (either selected or deselected)
|
|
3135
|
+
*/
|
|
3136
|
+
indices?: int[];
|
|
3137
|
+
|
|
3138
|
+
/**
|
|
3139
|
+
* Indicates whether the selection limit has been reached
|
|
3140
|
+
*/
|
|
3141
|
+
limitReached?: boolean;
|
|
3142
|
+
|
|
3143
|
+
/**
|
|
3144
|
+
* Contains the data passed to the function that triggered the event
|
|
3145
|
+
*/
|
|
3146
|
+
customPayload?: object;
|
|
3126
3147
|
}
|
|
3127
3148
|
}
|
|
3128
3149
|
|
|
@@ -3133,13 +3154,15 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
|
|
|
3133
3154
|
|
|
3134
3155
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
3135
3156
|
|
|
3157
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
3158
|
+
|
|
3136
3159
|
/**
|
|
3137
3160
|
* @SINCE 1.64
|
|
3138
3161
|
* @EXPERIMENTAL (since 1.64)
|
|
3139
3162
|
*
|
|
3140
3163
|
* Implements the selection methods for a table.
|
|
3141
3164
|
*/
|
|
3142
|
-
|
|
3165
|
+
class SelectionPlugin extends UI5Element {
|
|
3143
3166
|
/**
|
|
3144
3167
|
* Constructs an instance of sap.ui.table.plugins.SelectionPlugin
|
|
3145
3168
|
*
|
|
@@ -3261,14 +3284,49 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
|
|
|
3261
3284
|
*/
|
|
3262
3285
|
mParameters?: object
|
|
3263
3286
|
): this;
|
|
3287
|
+
/**
|
|
3288
|
+
* Gets current value of property {@link #getEnabled enabled}.
|
|
3289
|
+
*
|
|
3290
|
+
* Indicates whether this plugin is enabled.
|
|
3291
|
+
*
|
|
3292
|
+
* Default value is `true`.
|
|
3293
|
+
*
|
|
3294
|
+
* @returns Value of property `enabled`
|
|
3295
|
+
*/
|
|
3296
|
+
getEnabled(): boolean;
|
|
3297
|
+
/**
|
|
3298
|
+
* Sets a new value for property {@link #getEnabled enabled}.
|
|
3299
|
+
*
|
|
3300
|
+
* Indicates whether this plugin is enabled.
|
|
3301
|
+
*
|
|
3302
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3303
|
+
*
|
|
3304
|
+
* Default value is `true`.
|
|
3305
|
+
*
|
|
3306
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3307
|
+
*/
|
|
3308
|
+
setEnabled(
|
|
3309
|
+
/**
|
|
3310
|
+
* New value for property `enabled`
|
|
3311
|
+
*/
|
|
3312
|
+
bEnabled?: boolean
|
|
3313
|
+
): this;
|
|
3264
3314
|
}
|
|
3315
|
+
export default SelectionPlugin;
|
|
3265
3316
|
|
|
3266
3317
|
export interface $SelectionPluginSettings extends $ElementSettings {
|
|
3318
|
+
/**
|
|
3319
|
+
* Indicates whether this plugin is enabled.
|
|
3320
|
+
*/
|
|
3321
|
+
enabled?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
3322
|
+
|
|
3267
3323
|
/**
|
|
3268
3324
|
* This event is fired when the selection is changed.
|
|
3269
3325
|
*/
|
|
3270
3326
|
selectionChange?: (oEvent: Event) => void;
|
|
3271
3327
|
}
|
|
3328
|
+
|
|
3329
|
+
export interface $SelectionPluginSelectionChangeEventParameters {}
|
|
3272
3330
|
}
|
|
3273
3331
|
|
|
3274
3332
|
declare module "sap/ui/table/Row" {
|
|
@@ -3283,7 +3341,7 @@ declare module "sap/ui/table/Row" {
|
|
|
3283
3341
|
/**
|
|
3284
3342
|
* The row.
|
|
3285
3343
|
*/
|
|
3286
|
-
|
|
3344
|
+
class Row extends UI5Element {
|
|
3287
3345
|
/**
|
|
3288
3346
|
* Constructor for a new Row.
|
|
3289
3347
|
*
|
|
@@ -3425,6 +3483,7 @@ declare module "sap/ui/table/Row" {
|
|
|
3425
3483
|
vCell: int | string | Control
|
|
3426
3484
|
): Control | null;
|
|
3427
3485
|
}
|
|
3486
|
+
export default Row;
|
|
3428
3487
|
|
|
3429
3488
|
export interface $RowSettings extends $ElementSettings {
|
|
3430
3489
|
/**
|
|
@@ -3455,7 +3514,7 @@ declare module "sap/ui/table/RowAction" {
|
|
|
3455
3514
|
* more action items are available as the available space allows to display an overflow mechanism is provided.
|
|
3456
3515
|
* This control must only be used in the context of the `sap.ui.table.Table` control to define row actions.
|
|
3457
3516
|
*/
|
|
3458
|
-
|
|
3517
|
+
class RowAction extends Control {
|
|
3459
3518
|
/**
|
|
3460
3519
|
* Constructor for a new RowAction.
|
|
3461
3520
|
*
|
|
@@ -3615,6 +3674,7 @@ declare module "sap/ui/table/RowAction" {
|
|
|
3615
3674
|
bVisible?: boolean
|
|
3616
3675
|
): this;
|
|
3617
3676
|
}
|
|
3677
|
+
export default RowAction;
|
|
3618
3678
|
|
|
3619
3679
|
export interface $RowActionSettings extends $ControlSettings {
|
|
3620
3680
|
/**
|
|
@@ -3638,8 +3698,6 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3638
3698
|
|
|
3639
3699
|
import Event from "sap/ui/base/Event";
|
|
3640
3700
|
|
|
3641
|
-
import Row from "sap/ui/table/Row";
|
|
3642
|
-
|
|
3643
3701
|
import { URI } from "sap/ui/core/library";
|
|
3644
3702
|
|
|
3645
3703
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -3648,13 +3706,15 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3648
3706
|
|
|
3649
3707
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
3650
3708
|
|
|
3709
|
+
import Row from "sap/ui/table/Row";
|
|
3710
|
+
|
|
3651
3711
|
/**
|
|
3652
3712
|
* @SINCE 1.45
|
|
3653
3713
|
*
|
|
3654
3714
|
* An action items to be displayed in a `RowAction` control. This element must only be used in the context
|
|
3655
3715
|
* of the `sap.ui.table.Table` control to define row actions.
|
|
3656
3716
|
*/
|
|
3657
|
-
|
|
3717
|
+
class RowActionItem extends UI5Element {
|
|
3658
3718
|
/**
|
|
3659
3719
|
* Constructor for a new RowActionItem.
|
|
3660
3720
|
*
|
|
@@ -3734,7 +3794,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3734
3794
|
/**
|
|
3735
3795
|
* The function to be called when the event occurs
|
|
3736
3796
|
*/
|
|
3737
|
-
fnFunction: (p1: Event) => void,
|
|
3797
|
+
fnFunction: (p1: Event<$RowActionItemPressEventParameters>) => void,
|
|
3738
3798
|
/**
|
|
3739
3799
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.RowActionItem` itself
|
|
3740
3800
|
*/
|
|
@@ -3754,7 +3814,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3754
3814
|
/**
|
|
3755
3815
|
* The function to be called when the event occurs
|
|
3756
3816
|
*/
|
|
3757
|
-
fnFunction: (p1: Event) => void,
|
|
3817
|
+
fnFunction: (p1: Event<$RowActionItemPressEventParameters>) => void,
|
|
3758
3818
|
/**
|
|
3759
3819
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.RowActionItem` itself
|
|
3760
3820
|
*/
|
|
@@ -3771,7 +3831,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3771
3831
|
/**
|
|
3772
3832
|
* The function to be called, when the event occurs
|
|
3773
3833
|
*/
|
|
3774
|
-
fnFunction: (p1: Event) => void,
|
|
3834
|
+
fnFunction: (p1: Event<$RowActionItemPressEventParameters>) => void,
|
|
3775
3835
|
/**
|
|
3776
3836
|
* Context object on which the given function had to be called
|
|
3777
3837
|
*/
|
|
@@ -3788,16 +3848,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3788
3848
|
/**
|
|
3789
3849
|
* Parameters to pass along with the event
|
|
3790
3850
|
*/
|
|
3791
|
-
mParameters?:
|
|
3792
|
-
/**
|
|
3793
|
-
* The item which was pressed.
|
|
3794
|
-
*/
|
|
3795
|
-
item?: RowActionItem;
|
|
3796
|
-
/**
|
|
3797
|
-
* The table row to which the pressed item belongs to.
|
|
3798
|
-
*/
|
|
3799
|
-
row?: Row;
|
|
3800
|
-
}
|
|
3851
|
+
mParameters?: $RowActionItemPressEventParameters
|
|
3801
3852
|
): this;
|
|
3802
3853
|
/**
|
|
3803
3854
|
* Gets current value of property {@link #getIcon icon}.
|
|
@@ -3906,6 +3957,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3906
3957
|
bVisible?: boolean
|
|
3907
3958
|
): this;
|
|
3908
3959
|
}
|
|
3960
|
+
export default RowActionItem;
|
|
3909
3961
|
|
|
3910
3962
|
export interface $RowActionItemSettings extends $ElementSettings {
|
|
3911
3963
|
/**
|
|
@@ -3935,7 +3987,19 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3935
3987
|
/**
|
|
3936
3988
|
* The `press` is fired when the user triggers the corresponding action.
|
|
3937
3989
|
*/
|
|
3938
|
-
press?: (oEvent: Event) => void;
|
|
3990
|
+
press?: (oEvent: Event<$RowActionItemPressEventParameters>) => void;
|
|
3991
|
+
}
|
|
3992
|
+
|
|
3993
|
+
export interface $RowActionItemPressEventParameters {
|
|
3994
|
+
/**
|
|
3995
|
+
* The item which was pressed.
|
|
3996
|
+
*/
|
|
3997
|
+
item?: RowActionItem;
|
|
3998
|
+
|
|
3999
|
+
/**
|
|
4000
|
+
* The table row to which the pressed item belongs to.
|
|
4001
|
+
*/
|
|
4002
|
+
row?: Row;
|
|
3939
4003
|
}
|
|
3940
4004
|
}
|
|
3941
4005
|
|
|
@@ -3952,7 +4016,7 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
3952
4016
|
* The `RowSettings` control allows you to configure a row. You can only use this control in the context
|
|
3953
4017
|
* of the `sap.ui.table.Table` control to define row settings.
|
|
3954
4018
|
*/
|
|
3955
|
-
|
|
4019
|
+
class RowSettings extends UI5Element {
|
|
3956
4020
|
/**
|
|
3957
4021
|
* Constructor for new RowSettings.
|
|
3958
4022
|
*
|
|
@@ -4021,14 +4085,13 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4021
4085
|
* The highlight state of the rows.
|
|
4022
4086
|
*
|
|
4023
4087
|
* If the highlight is set to {@link sap.ui.core.MessageType sap.ui.core.MessageType.None} (default), no
|
|
4024
|
-
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link
|
|
4025
|
-
*
|
|
4088
|
+
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link sap.ui.core.MessageType }
|
|
4089
|
+
* or {@link sap.ui.core.IndicationColor}.
|
|
4026
4090
|
*
|
|
4027
|
-
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText
|
|
4028
|
-
*
|
|
4029
|
-
*
|
|
4030
|
-
*
|
|
4031
|
-
* property must be set.
|
|
4091
|
+
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText highlightText }
|
|
4092
|
+
* property. If the `highlight` property is set to a value of {@link sap.ui.core.MessageType}, the `highlightText`
|
|
4093
|
+
* property does not need to be set because a default text is used. However, the default text can be overridden
|
|
4094
|
+
* by setting the `highlightText` property. In all other cases the `highlightText` property must be set.
|
|
4032
4095
|
*
|
|
4033
4096
|
* Default value is `"None"`.
|
|
4034
4097
|
*
|
|
@@ -4072,14 +4135,13 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4072
4135
|
* The highlight state of the rows.
|
|
4073
4136
|
*
|
|
4074
4137
|
* If the highlight is set to {@link sap.ui.core.MessageType sap.ui.core.MessageType.None} (default), no
|
|
4075
|
-
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link
|
|
4076
|
-
*
|
|
4138
|
+
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link sap.ui.core.MessageType }
|
|
4139
|
+
* or {@link sap.ui.core.IndicationColor}.
|
|
4077
4140
|
*
|
|
4078
|
-
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText
|
|
4079
|
-
*
|
|
4080
|
-
*
|
|
4081
|
-
*
|
|
4082
|
-
* property must be set.
|
|
4141
|
+
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText highlightText }
|
|
4142
|
+
* property. If the `highlight` property is set to a value of {@link sap.ui.core.MessageType}, the `highlightText`
|
|
4143
|
+
* property does not need to be set because a default text is used. However, the default text can be overridden
|
|
4144
|
+
* by setting the `highlightText` property. In all other cases the `highlightText` property must be set.
|
|
4083
4145
|
*
|
|
4084
4146
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4085
4147
|
*
|
|
@@ -4137,6 +4199,7 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4137
4199
|
bNavigated?: boolean
|
|
4138
4200
|
): this;
|
|
4139
4201
|
}
|
|
4202
|
+
export default RowSettings;
|
|
4140
4203
|
|
|
4141
4204
|
export interface $RowSettingsSettings extends $ElementSettings {
|
|
4142
4205
|
/**
|
|
@@ -4145,14 +4208,13 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4145
4208
|
* The highlight state of the rows.
|
|
4146
4209
|
*
|
|
4147
4210
|
* If the highlight is set to {@link sap.ui.core.MessageType sap.ui.core.MessageType.None} (default), no
|
|
4148
|
-
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link
|
|
4149
|
-
*
|
|
4211
|
+
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link sap.ui.core.MessageType }
|
|
4212
|
+
* or {@link sap.ui.core.IndicationColor}.
|
|
4150
4213
|
*
|
|
4151
|
-
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText
|
|
4152
|
-
*
|
|
4153
|
-
*
|
|
4154
|
-
*
|
|
4155
|
-
* property must be set.
|
|
4214
|
+
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText highlightText }
|
|
4215
|
+
* property. If the `highlight` property is set to a value of {@link sap.ui.core.MessageType}, the `highlightText`
|
|
4216
|
+
* property does not need to be set because a default text is used. However, the default text can be overridden
|
|
4217
|
+
* by setting the `highlightText` property. In all other cases the `highlightText` property must be set.
|
|
4156
4218
|
*/
|
|
4157
4219
|
highlight?: string | PropertyBindingInfo;
|
|
4158
4220
|
|
|
@@ -4180,7 +4242,7 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4180
4242
|
declare module "sap/ui/table/Table" {
|
|
4181
4243
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
4182
4244
|
|
|
4183
|
-
import { ID, IContextMenu,
|
|
4245
|
+
import { ID, IContextMenu, Toolbar, CSSSize } from "sap/ui/core/library";
|
|
4184
4246
|
|
|
4185
4247
|
import Column from "sap/ui/table/Column";
|
|
4186
4248
|
|
|
@@ -4197,22 +4259,22 @@ declare module "sap/ui/table/Table" {
|
|
|
4197
4259
|
|
|
4198
4260
|
import Export from "sap/ui/core/util/Export";
|
|
4199
4261
|
|
|
4262
|
+
import Binding from "sap/ui/model/Binding";
|
|
4263
|
+
|
|
4200
4264
|
import Context from "sap/ui/model/Context";
|
|
4201
4265
|
|
|
4266
|
+
import DragDropBase from "sap/ui/core/dnd/DragDropBase";
|
|
4267
|
+
|
|
4268
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4269
|
+
|
|
4202
4270
|
import {
|
|
4203
|
-
SortOrder,
|
|
4204
4271
|
NavigationMode,
|
|
4205
4272
|
SelectionBehavior,
|
|
4206
4273
|
SelectionMode,
|
|
4207
4274
|
VisibleRowCountMode,
|
|
4275
|
+
SortOrder,
|
|
4208
4276
|
} from "sap/ui/table/library";
|
|
4209
4277
|
|
|
4210
|
-
import Binding from "sap/ui/model/Binding";
|
|
4211
|
-
|
|
4212
|
-
import DragDropBase from "sap/ui/core/dnd/DragDropBase";
|
|
4213
|
-
|
|
4214
|
-
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4215
|
-
|
|
4216
4278
|
import RowAction from "sap/ui/table/RowAction";
|
|
4217
4279
|
|
|
4218
4280
|
import RowSettings from "sap/ui/table/RowSettings";
|
|
@@ -4231,7 +4293,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4231
4293
|
* The Table control relies completely on data binding, and its supported feature set is tightly
|
|
4232
4294
|
* coupled to the data model and binding being used.
|
|
4233
4295
|
*/
|
|
4234
|
-
|
|
4296
|
+
class Table extends Control {
|
|
4235
4297
|
/**
|
|
4236
4298
|
* Constructor for a new Table.
|
|
4237
4299
|
*
|
|
@@ -4239,8 +4301,8 @@ declare module "sap/ui/table/Table" {
|
|
|
4239
4301
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4240
4302
|
* of the syntax of the settings object.
|
|
4241
4303
|
* See:
|
|
4242
|
-
* {@link topic
|
|
4243
|
-
* {@link topic
|
|
4304
|
+
* {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
|
|
4305
|
+
* {@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
|
|
4244
4306
|
* {@link fiori:/grid-table/ Grid Table}
|
|
4245
4307
|
*/
|
|
4246
4308
|
constructor(
|
|
@@ -4256,8 +4318,8 @@ declare module "sap/ui/table/Table" {
|
|
|
4256
4318
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4257
4319
|
* of the syntax of the settings object.
|
|
4258
4320
|
* See:
|
|
4259
|
-
* {@link topic
|
|
4260
|
-
* {@link topic
|
|
4321
|
+
* {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
|
|
4322
|
+
* {@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
|
|
4261
4323
|
* {@link fiori:/grid-table/ Grid Table}
|
|
4262
4324
|
*/
|
|
4263
4325
|
constructor(
|
|
@@ -4376,7 +4438,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4376
4438
|
/**
|
|
4377
4439
|
* @SINCE 1.54
|
|
4378
4440
|
*
|
|
4379
|
-
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu}
|
|
4441
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
4380
4442
|
* event of this `sap.ui.table.Table`.
|
|
4381
4443
|
*
|
|
4382
4444
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -4395,7 +4457,9 @@ declare module "sap/ui/table/Table" {
|
|
|
4395
4457
|
/**
|
|
4396
4458
|
* The function to be called when the event occurs
|
|
4397
4459
|
*/
|
|
4398
|
-
fnFunction: (
|
|
4460
|
+
fnFunction: (
|
|
4461
|
+
p1: Event<$TableBeforeOpenContextMenuEventParameters>
|
|
4462
|
+
) => void,
|
|
4399
4463
|
/**
|
|
4400
4464
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4401
4465
|
*/
|
|
@@ -4404,7 +4468,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4404
4468
|
/**
|
|
4405
4469
|
* @SINCE 1.54
|
|
4406
4470
|
*
|
|
4407
|
-
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu}
|
|
4471
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
4408
4472
|
* event of this `sap.ui.table.Table`.
|
|
4409
4473
|
*
|
|
4410
4474
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -4418,7 +4482,9 @@ declare module "sap/ui/table/Table" {
|
|
|
4418
4482
|
/**
|
|
4419
4483
|
* The function to be called when the event occurs
|
|
4420
4484
|
*/
|
|
4421
|
-
fnFunction: (
|
|
4485
|
+
fnFunction: (
|
|
4486
|
+
p1: Event<$TableBeforeOpenContextMenuEventParameters>
|
|
4487
|
+
) => void,
|
|
4422
4488
|
/**
|
|
4423
4489
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4424
4490
|
*/
|
|
@@ -4446,7 +4512,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4446
4512
|
/**
|
|
4447
4513
|
* The function to be called when the event occurs
|
|
4448
4514
|
*/
|
|
4449
|
-
fnFunction: (p1: Event) => void,
|
|
4515
|
+
fnFunction: (p1: Event<$TableBusyStateChangedEventParameters>) => void,
|
|
4450
4516
|
/**
|
|
4451
4517
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4452
4518
|
*/
|
|
@@ -4469,7 +4535,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4469
4535
|
/**
|
|
4470
4536
|
* The function to be called when the event occurs
|
|
4471
4537
|
*/
|
|
4472
|
-
fnFunction: (p1: Event) => void,
|
|
4538
|
+
fnFunction: (p1: Event<$TableBusyStateChangedEventParameters>) => void,
|
|
4473
4539
|
/**
|
|
4474
4540
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4475
4541
|
*/
|
|
@@ -4496,7 +4562,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4496
4562
|
/**
|
|
4497
4563
|
* The function to be called when the event occurs
|
|
4498
4564
|
*/
|
|
4499
|
-
fnFunction: (p1: Event) => void,
|
|
4565
|
+
fnFunction: (p1: Event<$TableCellClickEventParameters>) => void,
|
|
4500
4566
|
/**
|
|
4501
4567
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4502
4568
|
*/
|
|
@@ -4518,7 +4584,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4518
4584
|
/**
|
|
4519
4585
|
* The function to be called when the event occurs
|
|
4520
4586
|
*/
|
|
4521
|
-
fnFunction: (p1: Event) => void,
|
|
4587
|
+
fnFunction: (p1: Event<$TableCellClickEventParameters>) => void,
|
|
4522
4588
|
/**
|
|
4523
4589
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4524
4590
|
*/
|
|
@@ -4547,7 +4613,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4547
4613
|
/**
|
|
4548
4614
|
* The function to be called when the event occurs
|
|
4549
4615
|
*/
|
|
4550
|
-
fnFunction: (p1: Event) => void,
|
|
4616
|
+
fnFunction: (p1: Event<$TableCellContextmenuEventParameters>) => void,
|
|
4551
4617
|
/**
|
|
4552
4618
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4553
4619
|
*/
|
|
@@ -4571,7 +4637,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4571
4637
|
/**
|
|
4572
4638
|
* The function to be called when the event occurs
|
|
4573
4639
|
*/
|
|
4574
|
-
fnFunction: (p1: Event) => void,
|
|
4640
|
+
fnFunction: (p1: Event<$TableCellContextmenuEventParameters>) => void,
|
|
4575
4641
|
/**
|
|
4576
4642
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4577
4643
|
*/
|
|
@@ -4598,7 +4664,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4598
4664
|
/**
|
|
4599
4665
|
* The function to be called when the event occurs
|
|
4600
4666
|
*/
|
|
4601
|
-
fnFunction: (p1: Event) => void,
|
|
4667
|
+
fnFunction: (p1: Event<$TableColumnFreezeEventParameters>) => void,
|
|
4602
4668
|
/**
|
|
4603
4669
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4604
4670
|
*/
|
|
@@ -4620,7 +4686,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4620
4686
|
/**
|
|
4621
4687
|
* The function to be called when the event occurs
|
|
4622
4688
|
*/
|
|
4623
|
-
fnFunction: (p1: Event) => void,
|
|
4689
|
+
fnFunction: (p1: Event<$TableColumnFreezeEventParameters>) => void,
|
|
4624
4690
|
/**
|
|
4625
4691
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4626
4692
|
*/
|
|
@@ -4645,7 +4711,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4645
4711
|
/**
|
|
4646
4712
|
* The function to be called when the event occurs
|
|
4647
4713
|
*/
|
|
4648
|
-
fnFunction: (p1: Event) => void,
|
|
4714
|
+
fnFunction: (p1: Event<$TableColumnMoveEventParameters>) => void,
|
|
4649
4715
|
/**
|
|
4650
4716
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4651
4717
|
*/
|
|
@@ -4665,7 +4731,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4665
4731
|
/**
|
|
4666
4732
|
* The function to be called when the event occurs
|
|
4667
4733
|
*/
|
|
4668
|
-
fnFunction: (p1: Event) => void,
|
|
4734
|
+
fnFunction: (p1: Event<$TableColumnMoveEventParameters>) => void,
|
|
4669
4735
|
/**
|
|
4670
4736
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4671
4737
|
*/
|
|
@@ -4690,7 +4756,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4690
4756
|
/**
|
|
4691
4757
|
* The function to be called when the event occurs
|
|
4692
4758
|
*/
|
|
4693
|
-
fnFunction: (p1: Event) => void,
|
|
4759
|
+
fnFunction: (p1: Event<$TableColumnResizeEventParameters>) => void,
|
|
4694
4760
|
/**
|
|
4695
4761
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4696
4762
|
*/
|
|
@@ -4710,7 +4776,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4710
4776
|
/**
|
|
4711
4777
|
* The function to be called when the event occurs
|
|
4712
4778
|
*/
|
|
4713
|
-
fnFunction: (p1: Event) => void,
|
|
4779
|
+
fnFunction: (p1: Event<$TableColumnResizeEventParameters>) => void,
|
|
4714
4780
|
/**
|
|
4715
4781
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4716
4782
|
*/
|
|
@@ -4735,7 +4801,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4735
4801
|
/**
|
|
4736
4802
|
* The function to be called when the event occurs
|
|
4737
4803
|
*/
|
|
4738
|
-
fnFunction: (p1: Event) => void,
|
|
4804
|
+
fnFunction: (p1: Event<$TableColumnSelectEventParameters>) => void,
|
|
4739
4805
|
/**
|
|
4740
4806
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4741
4807
|
*/
|
|
@@ -4755,7 +4821,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4755
4821
|
/**
|
|
4756
4822
|
* The function to be called when the event occurs
|
|
4757
4823
|
*/
|
|
4758
|
-
fnFunction: (p1: Event) => void,
|
|
4824
|
+
fnFunction: (p1: Event<$TableColumnSelectEventParameters>) => void,
|
|
4759
4825
|
/**
|
|
4760
4826
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4761
4827
|
*/
|
|
@@ -4781,7 +4847,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4781
4847
|
/**
|
|
4782
4848
|
* The function to be called when the event occurs
|
|
4783
4849
|
*/
|
|
4784
|
-
fnFunction: (p1: Event) => void,
|
|
4850
|
+
fnFunction: (p1: Event<$TableColumnVisibilityEventParameters>) => void,
|
|
4785
4851
|
/**
|
|
4786
4852
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4787
4853
|
*/
|
|
@@ -4802,7 +4868,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4802
4868
|
/**
|
|
4803
4869
|
* The function to be called when the event occurs
|
|
4804
4870
|
*/
|
|
4805
|
-
fnFunction: (p1: Event) => void,
|
|
4871
|
+
fnFunction: (p1: Event<$TableColumnVisibilityEventParameters>) => void,
|
|
4806
4872
|
/**
|
|
4807
4873
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4808
4874
|
*/
|
|
@@ -4830,7 +4896,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4830
4896
|
/**
|
|
4831
4897
|
* The function to be called when the event occurs
|
|
4832
4898
|
*/
|
|
4833
|
-
fnFunction: (p1: Event) => void,
|
|
4899
|
+
fnFunction: (p1: Event<$TableCustomFilterEventParameters>) => void,
|
|
4834
4900
|
/**
|
|
4835
4901
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4836
4902
|
*/
|
|
@@ -4853,7 +4919,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4853
4919
|
/**
|
|
4854
4920
|
* The function to be called when the event occurs
|
|
4855
4921
|
*/
|
|
4856
|
-
fnFunction: (p1: Event) => void,
|
|
4922
|
+
fnFunction: (p1: Event<$TableCustomFilterEventParameters>) => void,
|
|
4857
4923
|
/**
|
|
4858
4924
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4859
4925
|
*/
|
|
@@ -4865,7 +4931,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4865
4931
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
4866
4932
|
* otherwise it will be bound to this `sap.ui.table.Table` itself.
|
|
4867
4933
|
*
|
|
4868
|
-
* This event is fired before a filter is applied to a column, if the table is filtered via {@link sap.ui.table.Table#filter}
|
|
4934
|
+
* This event is fired before a filter is applied to a column, if the table is filtered via {@link sap.ui.table.Table#filter }
|
|
4869
4935
|
* call or user interaction with the column header.
|
|
4870
4936
|
*
|
|
4871
4937
|
* Filters that are directly applied to the table binding will not fire this event.
|
|
@@ -4881,7 +4947,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4881
4947
|
/**
|
|
4882
4948
|
* The function to be called when the event occurs
|
|
4883
4949
|
*/
|
|
4884
|
-
fnFunction: (p1: Event) => void,
|
|
4950
|
+
fnFunction: (p1: Event<$TableFilterEventParameters>) => void,
|
|
4885
4951
|
/**
|
|
4886
4952
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4887
4953
|
*/
|
|
@@ -4893,7 +4959,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4893
4959
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
4894
4960
|
* otherwise it will be bound to this `sap.ui.table.Table` itself.
|
|
4895
4961
|
*
|
|
4896
|
-
* This event is fired before a filter is applied to a column, if the table is filtered via {@link sap.ui.table.Table#filter}
|
|
4962
|
+
* This event is fired before a filter is applied to a column, if the table is filtered via {@link sap.ui.table.Table#filter }
|
|
4897
4963
|
* call or user interaction with the column header.
|
|
4898
4964
|
*
|
|
4899
4965
|
* Filters that are directly applied to the table binding will not fire this event.
|
|
@@ -4904,7 +4970,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4904
4970
|
/**
|
|
4905
4971
|
* The function to be called when the event occurs
|
|
4906
4972
|
*/
|
|
4907
|
-
fnFunction: (p1: Event) => void,
|
|
4973
|
+
fnFunction: (p1: Event<$TableFilterEventParameters>) => void,
|
|
4908
4974
|
/**
|
|
4909
4975
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4910
4976
|
*/
|
|
@@ -4913,7 +4979,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4913
4979
|
/**
|
|
4914
4980
|
* @SINCE 1.37.0
|
|
4915
4981
|
*
|
|
4916
|
-
* Attaches event handler `fnFunction` to the {@link #event:firstVisibleRowChanged firstVisibleRowChanged}
|
|
4982
|
+
* Attaches event handler `fnFunction` to the {@link #event:firstVisibleRowChanged firstVisibleRowChanged }
|
|
4917
4983
|
* event of this `sap.ui.table.Table`.
|
|
4918
4984
|
*
|
|
4919
4985
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -4933,7 +4999,9 @@ declare module "sap/ui/table/Table" {
|
|
|
4933
4999
|
/**
|
|
4934
5000
|
* The function to be called when the event occurs
|
|
4935
5001
|
*/
|
|
4936
|
-
fnFunction: (
|
|
5002
|
+
fnFunction: (
|
|
5003
|
+
p1: Event<$TableFirstVisibleRowChangedEventParameters>
|
|
5004
|
+
) => void,
|
|
4937
5005
|
/**
|
|
4938
5006
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4939
5007
|
*/
|
|
@@ -4942,7 +5010,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4942
5010
|
/**
|
|
4943
5011
|
* @SINCE 1.37.0
|
|
4944
5012
|
*
|
|
4945
|
-
* Attaches event handler `fnFunction` to the {@link #event:firstVisibleRowChanged firstVisibleRowChanged}
|
|
5013
|
+
* Attaches event handler `fnFunction` to the {@link #event:firstVisibleRowChanged firstVisibleRowChanged }
|
|
4946
5014
|
* event of this `sap.ui.table.Table`.
|
|
4947
5015
|
*
|
|
4948
5016
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -4957,7 +5025,9 @@ declare module "sap/ui/table/Table" {
|
|
|
4957
5025
|
/**
|
|
4958
5026
|
* The function to be called when the event occurs
|
|
4959
5027
|
*/
|
|
4960
|
-
fnFunction: (
|
|
5028
|
+
fnFunction: (
|
|
5029
|
+
p1: Event<$TableFirstVisibleRowChangedEventParameters>
|
|
5030
|
+
) => void,
|
|
4961
5031
|
/**
|
|
4962
5032
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4963
5033
|
*/
|
|
@@ -4982,7 +5052,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4982
5052
|
/**
|
|
4983
5053
|
* The function to be called when the event occurs
|
|
4984
5054
|
*/
|
|
4985
|
-
fnFunction: (p1: Event) => void,
|
|
5055
|
+
fnFunction: (p1: Event<$TableGroupEventParameters>) => void,
|
|
4986
5056
|
/**
|
|
4987
5057
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4988
5058
|
*/
|
|
@@ -5002,7 +5072,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5002
5072
|
/**
|
|
5003
5073
|
* The function to be called when the event occurs
|
|
5004
5074
|
*/
|
|
5005
|
-
fnFunction: (p1: Event) => void,
|
|
5075
|
+
fnFunction: (p1: Event<$TableGroupEventParameters>) => void,
|
|
5006
5076
|
/**
|
|
5007
5077
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5008
5078
|
*/
|
|
@@ -5030,7 +5100,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5030
5100
|
/**
|
|
5031
5101
|
* The function to be called when the event occurs
|
|
5032
5102
|
*/
|
|
5033
|
-
fnFunction: (p1: Event) => void,
|
|
5103
|
+
fnFunction: (p1: Event<$TablePasteEventParameters>) => void,
|
|
5034
5104
|
/**
|
|
5035
5105
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5036
5106
|
*/
|
|
@@ -5053,7 +5123,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5053
5123
|
/**
|
|
5054
5124
|
* The function to be called when the event occurs
|
|
5055
5125
|
*/
|
|
5056
|
-
fnFunction: (p1: Event) => void,
|
|
5126
|
+
fnFunction: (p1: Event<$TablePasteEventParameters>) => void,
|
|
5057
5127
|
/**
|
|
5058
5128
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5059
5129
|
*/
|
|
@@ -5082,7 +5152,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5082
5152
|
/**
|
|
5083
5153
|
* The function to be called when the event occurs
|
|
5084
5154
|
*/
|
|
5085
|
-
fnFunction: (p1: Event) => void,
|
|
5155
|
+
fnFunction: (p1: Event<$TableRowSelectionChangeEventParameters>) => void,
|
|
5086
5156
|
/**
|
|
5087
5157
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5088
5158
|
*/
|
|
@@ -5106,7 +5176,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5106
5176
|
/**
|
|
5107
5177
|
* The function to be called when the event occurs
|
|
5108
5178
|
*/
|
|
5109
|
-
fnFunction: (p1: Event) => void,
|
|
5179
|
+
fnFunction: (p1: Event<$TableRowSelectionChangeEventParameters>) => void,
|
|
5110
5180
|
/**
|
|
5111
5181
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5112
5182
|
*/
|
|
@@ -5173,7 +5243,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5173
5243
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
5174
5244
|
* otherwise it will be bound to this `sap.ui.table.Table` itself.
|
|
5175
5245
|
*
|
|
5176
|
-
* This event is fired before a sort order is applied to a column, if the table is sorted via {@link sap.ui.table.Table#sort}
|
|
5246
|
+
* This event is fired before a sort order is applied to a column, if the table is sorted via {@link sap.ui.table.Table#sort }
|
|
5177
5247
|
* call or user interaction with the column header.
|
|
5178
5248
|
*
|
|
5179
5249
|
* Sorters that are directly applied to the table binding will not fire this event.
|
|
@@ -5189,7 +5259,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5189
5259
|
/**
|
|
5190
5260
|
* The function to be called when the event occurs
|
|
5191
5261
|
*/
|
|
5192
|
-
fnFunction: (p1: Event) => void,
|
|
5262
|
+
fnFunction: (p1: Event<$TableSortEventParameters>) => void,
|
|
5193
5263
|
/**
|
|
5194
5264
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5195
5265
|
*/
|
|
@@ -5201,7 +5271,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5201
5271
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
5202
5272
|
* otherwise it will be bound to this `sap.ui.table.Table` itself.
|
|
5203
5273
|
*
|
|
5204
|
-
* This event is fired before a sort order is applied to a column, if the table is sorted via {@link sap.ui.table.Table#sort}
|
|
5274
|
+
* This event is fired before a sort order is applied to a column, if the table is sorted via {@link sap.ui.table.Table#sort }
|
|
5205
5275
|
* call or user interaction with the column header.
|
|
5206
5276
|
*
|
|
5207
5277
|
* Sorters that are directly applied to the table binding will not fire this event.
|
|
@@ -5212,7 +5282,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5212
5282
|
/**
|
|
5213
5283
|
* The function to be called when the event occurs
|
|
5214
5284
|
*/
|
|
5215
|
-
fnFunction: (p1: Event) => void,
|
|
5285
|
+
fnFunction: (p1: Event<$TableSortEventParameters>) => void,
|
|
5216
5286
|
/**
|
|
5217
5287
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5218
5288
|
*/
|
|
@@ -5341,7 +5411,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5341
5411
|
/**
|
|
5342
5412
|
* @SINCE 1.54
|
|
5343
5413
|
*
|
|
5344
|
-
* Detaches event handler `fnFunction` from the {@link #event:beforeOpenContextMenu beforeOpenContextMenu}
|
|
5414
|
+
* Detaches event handler `fnFunction` from the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
5345
5415
|
* event of this `sap.ui.table.Table`.
|
|
5346
5416
|
*
|
|
5347
5417
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -5352,7 +5422,9 @@ declare module "sap/ui/table/Table" {
|
|
|
5352
5422
|
/**
|
|
5353
5423
|
* The function to be called, when the event occurs
|
|
5354
5424
|
*/
|
|
5355
|
-
fnFunction: (
|
|
5425
|
+
fnFunction: (
|
|
5426
|
+
p1: Event<$TableBeforeOpenContextMenuEventParameters>
|
|
5427
|
+
) => void,
|
|
5356
5428
|
/**
|
|
5357
5429
|
* Context object on which the given function had to be called
|
|
5358
5430
|
*/
|
|
@@ -5372,7 +5444,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5372
5444
|
/**
|
|
5373
5445
|
* The function to be called, when the event occurs
|
|
5374
5446
|
*/
|
|
5375
|
-
fnFunction: (p1: Event) => void,
|
|
5447
|
+
fnFunction: (p1: Event<$TableBusyStateChangedEventParameters>) => void,
|
|
5376
5448
|
/**
|
|
5377
5449
|
* Context object on which the given function had to be called
|
|
5378
5450
|
*/
|
|
@@ -5391,7 +5463,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5391
5463
|
/**
|
|
5392
5464
|
* The function to be called, when the event occurs
|
|
5393
5465
|
*/
|
|
5394
|
-
fnFunction: (p1: Event) => void,
|
|
5466
|
+
fnFunction: (p1: Event<$TableCellClickEventParameters>) => void,
|
|
5395
5467
|
/**
|
|
5396
5468
|
* Context object on which the given function had to be called
|
|
5397
5469
|
*/
|
|
@@ -5412,7 +5484,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5412
5484
|
/**
|
|
5413
5485
|
* The function to be called, when the event occurs
|
|
5414
5486
|
*/
|
|
5415
|
-
fnFunction: (p1: Event) => void,
|
|
5487
|
+
fnFunction: (p1: Event<$TableCellContextmenuEventParameters>) => void,
|
|
5416
5488
|
/**
|
|
5417
5489
|
* Context object on which the given function had to be called
|
|
5418
5490
|
*/
|
|
@@ -5431,7 +5503,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5431
5503
|
/**
|
|
5432
5504
|
* The function to be called, when the event occurs
|
|
5433
5505
|
*/
|
|
5434
|
-
fnFunction: (p1: Event) => void,
|
|
5506
|
+
fnFunction: (p1: Event<$TableColumnFreezeEventParameters>) => void,
|
|
5435
5507
|
/**
|
|
5436
5508
|
* Context object on which the given function had to be called
|
|
5437
5509
|
*/
|
|
@@ -5448,7 +5520,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5448
5520
|
/**
|
|
5449
5521
|
* The function to be called, when the event occurs
|
|
5450
5522
|
*/
|
|
5451
|
-
fnFunction: (p1: Event) => void,
|
|
5523
|
+
fnFunction: (p1: Event<$TableColumnMoveEventParameters>) => void,
|
|
5452
5524
|
/**
|
|
5453
5525
|
* Context object on which the given function had to be called
|
|
5454
5526
|
*/
|
|
@@ -5465,7 +5537,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5465
5537
|
/**
|
|
5466
5538
|
* The function to be called, when the event occurs
|
|
5467
5539
|
*/
|
|
5468
|
-
fnFunction: (p1: Event) => void,
|
|
5540
|
+
fnFunction: (p1: Event<$TableColumnResizeEventParameters>) => void,
|
|
5469
5541
|
/**
|
|
5470
5542
|
* Context object on which the given function had to be called
|
|
5471
5543
|
*/
|
|
@@ -5482,7 +5554,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5482
5554
|
/**
|
|
5483
5555
|
* The function to be called, when the event occurs
|
|
5484
5556
|
*/
|
|
5485
|
-
fnFunction: (p1: Event) => void,
|
|
5557
|
+
fnFunction: (p1: Event<$TableColumnSelectEventParameters>) => void,
|
|
5486
5558
|
/**
|
|
5487
5559
|
* Context object on which the given function had to be called
|
|
5488
5560
|
*/
|
|
@@ -5500,7 +5572,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5500
5572
|
/**
|
|
5501
5573
|
* The function to be called, when the event occurs
|
|
5502
5574
|
*/
|
|
5503
|
-
fnFunction: (p1: Event) => void,
|
|
5575
|
+
fnFunction: (p1: Event<$TableColumnVisibilityEventParameters>) => void,
|
|
5504
5576
|
/**
|
|
5505
5577
|
* Context object on which the given function had to be called
|
|
5506
5578
|
*/
|
|
@@ -5519,7 +5591,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5519
5591
|
/**
|
|
5520
5592
|
* The function to be called, when the event occurs
|
|
5521
5593
|
*/
|
|
5522
|
-
fnFunction: (p1: Event) => void,
|
|
5594
|
+
fnFunction: (p1: Event<$TableCustomFilterEventParameters>) => void,
|
|
5523
5595
|
/**
|
|
5524
5596
|
* Context object on which the given function had to be called
|
|
5525
5597
|
*/
|
|
@@ -5536,7 +5608,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5536
5608
|
/**
|
|
5537
5609
|
* The function to be called, when the event occurs
|
|
5538
5610
|
*/
|
|
5539
|
-
fnFunction: (p1: Event) => void,
|
|
5611
|
+
fnFunction: (p1: Event<$TableFilterEventParameters>) => void,
|
|
5540
5612
|
/**
|
|
5541
5613
|
* Context object on which the given function had to be called
|
|
5542
5614
|
*/
|
|
@@ -5545,7 +5617,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5545
5617
|
/**
|
|
5546
5618
|
* @SINCE 1.37.0
|
|
5547
5619
|
*
|
|
5548
|
-
* Detaches event handler `fnFunction` from the {@link #event:firstVisibleRowChanged firstVisibleRowChanged}
|
|
5620
|
+
* Detaches event handler `fnFunction` from the {@link #event:firstVisibleRowChanged firstVisibleRowChanged }
|
|
5549
5621
|
* event of this `sap.ui.table.Table`.
|
|
5550
5622
|
*
|
|
5551
5623
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -5556,7 +5628,9 @@ declare module "sap/ui/table/Table" {
|
|
|
5556
5628
|
/**
|
|
5557
5629
|
* The function to be called, when the event occurs
|
|
5558
5630
|
*/
|
|
5559
|
-
fnFunction: (
|
|
5631
|
+
fnFunction: (
|
|
5632
|
+
p1: Event<$TableFirstVisibleRowChangedEventParameters>
|
|
5633
|
+
) => void,
|
|
5560
5634
|
/**
|
|
5561
5635
|
* Context object on which the given function had to be called
|
|
5562
5636
|
*/
|
|
@@ -5573,7 +5647,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5573
5647
|
/**
|
|
5574
5648
|
* The function to be called, when the event occurs
|
|
5575
5649
|
*/
|
|
5576
|
-
fnFunction: (p1: Event) => void,
|
|
5650
|
+
fnFunction: (p1: Event<$TableGroupEventParameters>) => void,
|
|
5577
5651
|
/**
|
|
5578
5652
|
* Context object on which the given function had to be called
|
|
5579
5653
|
*/
|
|
@@ -5592,7 +5666,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5592
5666
|
/**
|
|
5593
5667
|
* The function to be called, when the event occurs
|
|
5594
5668
|
*/
|
|
5595
|
-
fnFunction: (p1: Event) => void,
|
|
5669
|
+
fnFunction: (p1: Event<$TablePasteEventParameters>) => void,
|
|
5596
5670
|
/**
|
|
5597
5671
|
* Context object on which the given function had to be called
|
|
5598
5672
|
*/
|
|
@@ -5610,7 +5684,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5610
5684
|
/**
|
|
5611
5685
|
* The function to be called, when the event occurs
|
|
5612
5686
|
*/
|
|
5613
|
-
fnFunction: (p1: Event) => void,
|
|
5687
|
+
fnFunction: (p1: Event<$TableRowSelectionChangeEventParameters>) => void,
|
|
5614
5688
|
/**
|
|
5615
5689
|
* Context object on which the given function had to be called
|
|
5616
5690
|
*/
|
|
@@ -5646,7 +5720,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5646
5720
|
/**
|
|
5647
5721
|
* The function to be called, when the event occurs
|
|
5648
5722
|
*/
|
|
5649
|
-
fnFunction: (p1: Event) => void,
|
|
5723
|
+
fnFunction: (p1: Event<$TableSortEventParameters>) => void,
|
|
5650
5724
|
/**
|
|
5651
5725
|
* Context object on which the given function had to be called
|
|
5652
5726
|
*/
|
|
@@ -5700,20 +5774,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5700
5774
|
/**
|
|
5701
5775
|
* Parameters to pass along with the event
|
|
5702
5776
|
*/
|
|
5703
|
-
mParameters?:
|
|
5704
|
-
/**
|
|
5705
|
-
* Row index where the context menu opens.
|
|
5706
|
-
*/
|
|
5707
|
-
rowIndex?: int;
|
|
5708
|
-
/**
|
|
5709
|
-
* Column index where the context menu opens. This is the index of the column in the `columns` aggregation.
|
|
5710
|
-
*/
|
|
5711
|
-
columnIndex?: int;
|
|
5712
|
-
/**
|
|
5713
|
-
* Context menu
|
|
5714
|
-
*/
|
|
5715
|
-
contextMenu?: IContextMenu;
|
|
5716
|
-
}
|
|
5777
|
+
mParameters?: $TableBeforeOpenContextMenuEventParameters
|
|
5717
5778
|
): boolean;
|
|
5718
5779
|
/**
|
|
5719
5780
|
* @SINCE 1.37.0
|
|
@@ -5727,12 +5788,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5727
5788
|
/**
|
|
5728
5789
|
* Parameters to pass along with the event
|
|
5729
5790
|
*/
|
|
5730
|
-
mParameters?:
|
|
5731
|
-
/**
|
|
5732
|
-
* busy state
|
|
5733
|
-
*/
|
|
5734
|
-
busy?: boolean;
|
|
5735
|
-
}
|
|
5791
|
+
mParameters?: $TableBusyStateChangedEventParameters
|
|
5736
5792
|
): this;
|
|
5737
5793
|
/**
|
|
5738
5794
|
* @SINCE 1.21.0
|
|
@@ -5749,33 +5805,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5749
5805
|
/**
|
|
5750
5806
|
* Parameters to pass along with the event
|
|
5751
5807
|
*/
|
|
5752
|
-
mParameters?:
|
|
5753
|
-
/**
|
|
5754
|
-
* The control of the cell.
|
|
5755
|
-
*/
|
|
5756
|
-
cellControl?: Control;
|
|
5757
|
-
/**
|
|
5758
|
-
* DOM reference of the clicked cell. Can be used to position the context menu.
|
|
5759
|
-
*/
|
|
5760
|
-
cellDomRef?: Object;
|
|
5761
|
-
/**
|
|
5762
|
-
* Row index of the selected cell.
|
|
5763
|
-
*/
|
|
5764
|
-
rowIndex?: int;
|
|
5765
|
-
/**
|
|
5766
|
-
* Column index of the selected cell. This is the index of visible columns and might differ from the index
|
|
5767
|
-
* maintained in the column aggregation.
|
|
5768
|
-
*/
|
|
5769
|
-
columnIndex?: int;
|
|
5770
|
-
/**
|
|
5771
|
-
* Column ID of the selected cell.
|
|
5772
|
-
*/
|
|
5773
|
-
columnId?: string;
|
|
5774
|
-
/**
|
|
5775
|
-
* Row binding context of the selected cell.
|
|
5776
|
-
*/
|
|
5777
|
-
rowBindingContext?: Context;
|
|
5778
|
-
}
|
|
5808
|
+
mParameters?: $TableCellClickEventParameters
|
|
5779
5809
|
): boolean;
|
|
5780
5810
|
/**
|
|
5781
5811
|
* @SINCE 1.21.0
|
|
@@ -5793,33 +5823,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5793
5823
|
/**
|
|
5794
5824
|
* Parameters to pass along with the event
|
|
5795
5825
|
*/
|
|
5796
|
-
mParameters?:
|
|
5797
|
-
/**
|
|
5798
|
-
* The control of the cell.
|
|
5799
|
-
*/
|
|
5800
|
-
cellControl?: Control;
|
|
5801
|
-
/**
|
|
5802
|
-
* DOM reference of the clicked cell. Can be used to position the context menu.
|
|
5803
|
-
*/
|
|
5804
|
-
cellDomRef?: Object;
|
|
5805
|
-
/**
|
|
5806
|
-
* Row index of the selected cell.
|
|
5807
|
-
*/
|
|
5808
|
-
rowIndex?: int;
|
|
5809
|
-
/**
|
|
5810
|
-
* Column index of the selected cell. This is the index of visible columns and might differ from the index
|
|
5811
|
-
* maintained in the column aggregation.
|
|
5812
|
-
*/
|
|
5813
|
-
columnIndex?: int;
|
|
5814
|
-
/**
|
|
5815
|
-
* Column ID of the selected cell.
|
|
5816
|
-
*/
|
|
5817
|
-
columnId?: string;
|
|
5818
|
-
/**
|
|
5819
|
-
* Row binding context of the selected cell.
|
|
5820
|
-
*/
|
|
5821
|
-
rowBindingContext?: Context;
|
|
5822
|
-
}
|
|
5826
|
+
mParameters?: $TableCellContextmenuEventParameters
|
|
5823
5827
|
): boolean;
|
|
5824
5828
|
/**
|
|
5825
5829
|
* @SINCE 1.21.0
|
|
@@ -5836,12 +5840,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5836
5840
|
/**
|
|
5837
5841
|
* Parameters to pass along with the event
|
|
5838
5842
|
*/
|
|
5839
|
-
mParameters?:
|
|
5840
|
-
/**
|
|
5841
|
-
* reference to the column to freeze
|
|
5842
|
-
*/
|
|
5843
|
-
column?: Column;
|
|
5844
|
-
}
|
|
5843
|
+
mParameters?: $TableColumnFreezeEventParameters
|
|
5845
5844
|
): boolean;
|
|
5846
5845
|
/**
|
|
5847
5846
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5857,16 +5856,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5857
5856
|
/**
|
|
5858
5857
|
* Parameters to pass along with the event
|
|
5859
5858
|
*/
|
|
5860
|
-
mParameters?:
|
|
5861
|
-
/**
|
|
5862
|
-
* moved column.
|
|
5863
|
-
*/
|
|
5864
|
-
column?: Column;
|
|
5865
|
-
/**
|
|
5866
|
-
* new position of the column.
|
|
5867
|
-
*/
|
|
5868
|
-
newPos?: int;
|
|
5869
|
-
}
|
|
5859
|
+
mParameters?: $TableColumnMoveEventParameters
|
|
5870
5860
|
): boolean;
|
|
5871
5861
|
/**
|
|
5872
5862
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5882,16 +5872,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5882
5872
|
/**
|
|
5883
5873
|
* Parameters to pass along with the event
|
|
5884
5874
|
*/
|
|
5885
|
-
mParameters?:
|
|
5886
|
-
/**
|
|
5887
|
-
* resized column.
|
|
5888
|
-
*/
|
|
5889
|
-
column?: Column;
|
|
5890
|
-
/**
|
|
5891
|
-
* new width of the table column as CSS Size definition.
|
|
5892
|
-
*/
|
|
5893
|
-
width?: CSSSize;
|
|
5894
|
-
}
|
|
5875
|
+
mParameters?: $TableColumnResizeEventParameters
|
|
5895
5876
|
): boolean;
|
|
5896
5877
|
/**
|
|
5897
5878
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5907,12 +5888,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5907
5888
|
/**
|
|
5908
5889
|
* Parameters to pass along with the event
|
|
5909
5890
|
*/
|
|
5910
|
-
mParameters?:
|
|
5911
|
-
/**
|
|
5912
|
-
* reference to the selected column
|
|
5913
|
-
*/
|
|
5914
|
-
column?: Column;
|
|
5915
|
-
}
|
|
5891
|
+
mParameters?: $TableColumnSelectEventParameters
|
|
5916
5892
|
): boolean;
|
|
5917
5893
|
/**
|
|
5918
5894
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5928,16 +5904,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5928
5904
|
/**
|
|
5929
5905
|
* Parameters to pass along with the event
|
|
5930
5906
|
*/
|
|
5931
|
-
mParameters?:
|
|
5932
|
-
/**
|
|
5933
|
-
* affected column.
|
|
5934
|
-
*/
|
|
5935
|
-
column?: Column;
|
|
5936
|
-
/**
|
|
5937
|
-
* new value of the visible property.
|
|
5938
|
-
*/
|
|
5939
|
-
newVisible?: boolean;
|
|
5940
|
-
}
|
|
5907
|
+
mParameters?: $TableColumnVisibilityEventParameters
|
|
5941
5908
|
): boolean;
|
|
5942
5909
|
/**
|
|
5943
5910
|
* @SINCE 1.23.0
|
|
@@ -5951,16 +5918,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5951
5918
|
/**
|
|
5952
5919
|
* Parameters to pass along with the event
|
|
5953
5920
|
*/
|
|
5954
|
-
mParameters?:
|
|
5955
|
-
/**
|
|
5956
|
-
* The column instance on which the custom filter button was pressed.
|
|
5957
|
-
*/
|
|
5958
|
-
column?: Column;
|
|
5959
|
-
/**
|
|
5960
|
-
* Filter value.
|
|
5961
|
-
*/
|
|
5962
|
-
value?: string;
|
|
5963
|
-
}
|
|
5921
|
+
mParameters?: $TableCustomFilterEventParameters
|
|
5964
5922
|
): this;
|
|
5965
5923
|
/**
|
|
5966
5924
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5976,16 +5934,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5976
5934
|
/**
|
|
5977
5935
|
* Parameters to pass along with the event
|
|
5978
5936
|
*/
|
|
5979
|
-
mParameters?:
|
|
5980
|
-
/**
|
|
5981
|
-
* filtered column.
|
|
5982
|
-
*/
|
|
5983
|
-
column?: Column;
|
|
5984
|
-
/**
|
|
5985
|
-
* filter value.
|
|
5986
|
-
*/
|
|
5987
|
-
value?: string;
|
|
5988
|
-
}
|
|
5937
|
+
mParameters?: $TableFilterEventParameters
|
|
5989
5938
|
): boolean;
|
|
5990
5939
|
/**
|
|
5991
5940
|
* @SINCE 1.37.0
|
|
@@ -5999,12 +5948,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5999
5948
|
/**
|
|
6000
5949
|
* Parameters to pass along with the event
|
|
6001
5950
|
*/
|
|
6002
|
-
mParameters?:
|
|
6003
|
-
/**
|
|
6004
|
-
* First visible row
|
|
6005
|
-
*/
|
|
6006
|
-
firstVisibleRow?: int;
|
|
6007
|
-
}
|
|
5951
|
+
mParameters?: $TableFirstVisibleRowChangedEventParameters
|
|
6008
5952
|
): this;
|
|
6009
5953
|
/**
|
|
6010
5954
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6020,12 +5964,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6020
5964
|
/**
|
|
6021
5965
|
* Parameters to pass along with the event
|
|
6022
5966
|
*/
|
|
6023
|
-
mParameters?:
|
|
6024
|
-
/**
|
|
6025
|
-
* grouped column.
|
|
6026
|
-
*/
|
|
6027
|
-
column?: Column;
|
|
6028
|
-
}
|
|
5967
|
+
mParameters?: $TableGroupEventParameters
|
|
6029
5968
|
): boolean;
|
|
6030
5969
|
/**
|
|
6031
5970
|
* @SINCE 1.60
|
|
@@ -6042,13 +5981,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6042
5981
|
/**
|
|
6043
5982
|
* Parameters to pass along with the event
|
|
6044
5983
|
*/
|
|
6045
|
-
mParameters?:
|
|
6046
|
-
/**
|
|
6047
|
-
* 2D array of strings with data from the clipboard. The first dimension represents the rows, and the second
|
|
6048
|
-
* dimension represents the cells of the tabular data.
|
|
6049
|
-
*/
|
|
6050
|
-
data?: string[][];
|
|
6051
|
-
}
|
|
5984
|
+
mParameters?: $TablePasteEventParameters
|
|
6052
5985
|
): boolean;
|
|
6053
5986
|
/**
|
|
6054
5987
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6061,29 +5994,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6061
5994
|
/**
|
|
6062
5995
|
* Parameters to pass along with the event
|
|
6063
5996
|
*/
|
|
6064
|
-
mParameters?:
|
|
6065
|
-
/**
|
|
6066
|
-
* row index which has been clicked so that the selection has been changed (either selected or deselected)
|
|
6067
|
-
*/
|
|
6068
|
-
rowIndex?: int;
|
|
6069
|
-
/**
|
|
6070
|
-
* binding context of the row which has been clicked so that selection has been changed
|
|
6071
|
-
*/
|
|
6072
|
-
rowContext?: Context;
|
|
6073
|
-
/**
|
|
6074
|
-
* array of row indices which selection has been changed (either selected or deselected)
|
|
6075
|
-
*/
|
|
6076
|
-
rowIndices?: int[];
|
|
6077
|
-
/**
|
|
6078
|
-
* indicator if "select all" function is used to select rows
|
|
6079
|
-
*/
|
|
6080
|
-
selectAll?: boolean;
|
|
6081
|
-
/**
|
|
6082
|
-
* indicates that the event was fired due to an explicit user interaction like clicking the row header or
|
|
6083
|
-
* using the keyboard (SPACE or ENTER) to select a row or a range of rows.
|
|
6084
|
-
*/
|
|
6085
|
-
userInteraction?: boolean;
|
|
6086
|
-
}
|
|
5997
|
+
mParameters?: $TableRowSelectionChangeEventParameters
|
|
6087
5998
|
): this;
|
|
6088
5999
|
/**
|
|
6089
6000
|
* @SINCE 1.86
|
|
@@ -6113,20 +6024,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6113
6024
|
/**
|
|
6114
6025
|
* Parameters to pass along with the event
|
|
6115
6026
|
*/
|
|
6116
|
-
mParameters?:
|
|
6117
|
-
/**
|
|
6118
|
-
* sorted column.
|
|
6119
|
-
*/
|
|
6120
|
-
column?: Column;
|
|
6121
|
-
/**
|
|
6122
|
-
* Sort Order
|
|
6123
|
-
*/
|
|
6124
|
-
sortOrder?: SortOrder | keyof typeof SortOrder;
|
|
6125
|
-
/**
|
|
6126
|
-
* If column was added to sorter this is true. If new sort is started this is set to false
|
|
6127
|
-
*/
|
|
6128
|
-
columnAdded?: boolean;
|
|
6129
|
-
}
|
|
6027
|
+
mParameters?: $TableSortEventParameters
|
|
6130
6028
|
): boolean;
|
|
6131
6029
|
/**
|
|
6132
6030
|
* Sets the focus to the stored focus DOM reference.
|
|
@@ -6163,8 +6061,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6163
6061
|
*/
|
|
6164
6062
|
getAlternateRowColors(): boolean;
|
|
6165
6063
|
/**
|
|
6166
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
6167
|
-
* ariaLabelledBy}.
|
|
6064
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
6168
6065
|
*/
|
|
6169
6066
|
getAriaLabelledBy(): ID[];
|
|
6170
6067
|
/**
|
|
@@ -6263,6 +6160,8 @@ declare module "sap/ui/table/Table" {
|
|
|
6263
6160
|
*/
|
|
6264
6161
|
getDragDropConfig(): DragDropBase[];
|
|
6265
6162
|
/**
|
|
6163
|
+
* @deprecated (since 1.115)
|
|
6164
|
+
*
|
|
6266
6165
|
* Gets current value of property {@link #getEditable editable}.
|
|
6267
6166
|
*
|
|
6268
6167
|
* Flag whether the controls of the Table are editable or not (currently this only controls the background
|
|
@@ -6346,16 +6245,16 @@ declare module "sap/ui/table/Table" {
|
|
|
6346
6245
|
*
|
|
6347
6246
|
* The following restrictions apply:
|
|
6348
6247
|
* - Only client models are supported (e.g. {@link sap.ui.model.json.JSONModel}). Grouping does not work
|
|
6349
|
-
*
|
|
6248
|
+
* with OData models.
|
|
6350
6249
|
* - The table can only be grouped by **one** column at a time. Grouping by another column will remove
|
|
6351
|
-
*
|
|
6250
|
+
* the current grouping.
|
|
6352
6251
|
* - For the grouping to work correctly, {@link sap.ui.table.Column#getSortProperty sortProperty} must
|
|
6353
|
-
*
|
|
6252
|
+
* be set for the grouped column.
|
|
6354
6253
|
* - If grouping has been done, sorting and filtering is not possible. Any existing sorting and filtering
|
|
6355
|
-
*
|
|
6254
|
+
* rules do no longer apply. The UI is not updated accordingly (e.g. menu items, sort and filter icons).
|
|
6356
6255
|
*
|
|
6357
6256
|
* - The column, by which the table is grouped, is not visible. It will become visible again only if the
|
|
6358
|
-
*
|
|
6257
|
+
* table is grouped by another column or grouping is disabled.
|
|
6359
6258
|
*
|
|
6360
6259
|
* Default value is `false`.
|
|
6361
6260
|
*
|
|
@@ -6400,8 +6299,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6400
6299
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
6401
6300
|
* not fixed, will scroll.
|
|
6402
6301
|
*
|
|
6403
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
6404
|
-
* client model}.
|
|
6302
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
6405
6303
|
*
|
|
6406
6304
|
* Default value is `0`.
|
|
6407
6305
|
*
|
|
@@ -6416,8 +6314,8 @@ declare module "sap/ui/table/Table" {
|
|
|
6416
6314
|
* **Note**
|
|
6417
6315
|
* - Fixed columns need a defined width for the feature to work.
|
|
6418
6316
|
* - The aggregated width of all fixed columns must not exceed the table width. Otherwise the table ignores
|
|
6419
|
-
*
|
|
6420
|
-
*
|
|
6317
|
+
* the value of the property and adapts the behavior in an appropriate way to ensure that the user is still
|
|
6318
|
+
* able to scroll horizontally.
|
|
6421
6319
|
*
|
|
6422
6320
|
* Default value is `0`.
|
|
6423
6321
|
*
|
|
@@ -6430,8 +6328,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6430
6328
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
6431
6329
|
* fixed, will scroll.
|
|
6432
6330
|
*
|
|
6433
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
6434
|
-
* client model}.
|
|
6331
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
6435
6332
|
*
|
|
6436
6333
|
* Default value is `0`.
|
|
6437
6334
|
*
|
|
@@ -6491,7 +6388,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6491
6388
|
*
|
|
6492
6389
|
* The following restrictions apply:
|
|
6493
6390
|
* - If a selection plugin is applied to the table, the table's selection API must not be used. Instead,
|
|
6494
|
-
*
|
|
6391
|
+
* use the API of the plugin.
|
|
6495
6392
|
* - Only one MultiSelectionPlugin can be applied. No other plugins can be applied.
|
|
6496
6393
|
*/
|
|
6497
6394
|
getPlugins(): SelectionPlugin[];
|
|
@@ -6525,10 +6422,10 @@ declare module "sap/ui/table/Table" {
|
|
|
6525
6422
|
* height based on the content density configuration. The actual height can increase based on the content.
|
|
6526
6423
|
*
|
|
6527
6424
|
* In the table's body, it defines the height of the row content. The actual row height is also influenced
|
|
6528
|
-
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode
|
|
6529
|
-
*
|
|
6530
|
-
*
|
|
6531
|
-
*
|
|
6425
|
+
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode Fixed }
|
|
6426
|
+
* or {@link sap.ui.table.VisibleRowCountMode Interactive}, the value defines the minimum height, and the
|
|
6427
|
+
* actual height can increase based on the content. If the mode is {@link sap.ui.table.VisibleRowCountMode Auto},
|
|
6428
|
+
* the value defines the actual height, and any content that doesn't fit is cut off.
|
|
6532
6429
|
*
|
|
6533
6430
|
* If no value is set (includes 0), a default height is applied based on the content density configuration.
|
|
6534
6431
|
* In any `visibleRowCountMode`, the actual height can increase based on the content.
|
|
@@ -6551,14 +6448,13 @@ declare module "sap/ui/table/Table" {
|
|
|
6551
6448
|
* The cells of rows can be defined with the {@link sap.ui.table.Column#setTemplate template} aggregation
|
|
6552
6449
|
* of the columns in the {@link sap.ui.table.Table#getColumns columns} aggregation of the table. The actions
|
|
6553
6450
|
* of rows can be defined with the {@link sap.ui.table.Table#setRowActionTemplate rowActionTemplate} aggregation
|
|
6554
|
-
* of the table. Furthermore, row-specific settings can be defined with the {@link sap.ui.table.Table#setRowSettingsTemplate
|
|
6555
|
-
*
|
|
6451
|
+
* of the table. Furthermore, row-specific settings can be defined with the {@link sap.ui.table.Table#setRowSettingsTemplate rowSettingsTemplate }
|
|
6452
|
+
* aggregation of the table.
|
|
6556
6453
|
*
|
|
6557
6454
|
* **Note:** During the binding of rows, the (exact) count needs to be available in the table and has to
|
|
6558
6455
|
* be requested. If the count is not requested, this may lead to unexpected behavior in the table, such
|
|
6559
6456
|
* as scrolling, accessibility, or keyboard issues. Please refer to the documentation of the used model
|
|
6560
|
-
* for information on requesting the count, for example, {@link sap.ui.model.odata.v2.ODataModel} or {@link
|
|
6561
|
-
* sap.ui.model.odata.v4.ODataModel}.
|
|
6457
|
+
* for information on requesting the count, for example, {@link sap.ui.model.odata.v2.ODataModel} or {@link sap.ui.model.odata.v4.ODataModel}.
|
|
6562
6458
|
*/
|
|
6563
6459
|
getRows(): Row[];
|
|
6564
6460
|
/**
|
|
@@ -6647,7 +6543,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6647
6543
|
*/
|
|
6648
6544
|
getShowOverlay(): boolean;
|
|
6649
6545
|
/**
|
|
6650
|
-
* Gets the sorted columns in the order in which sorting was performed through the {@link sap.ui.table.Table#sort}
|
|
6546
|
+
* Gets the sorted columns in the order in which sorting was performed through the {@link sap.ui.table.Table#sort }
|
|
6651
6547
|
* method and menus. Does not reflect sorting at binding level or the columns sort visualization set with
|
|
6652
6548
|
* {@link sap.ui.table.Column#setSorted} and {@link sap.ui.table.Column#setSortOrder}.
|
|
6653
6549
|
* See:
|
|
@@ -6712,7 +6608,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6712
6608
|
* be set manually. Restrictions:
|
|
6713
6609
|
* - All rows need to have the same height.
|
|
6714
6610
|
* - The table must be rendered without siblings in its parent DOM element. The only exception is if the
|
|
6715
|
-
*
|
|
6611
|
+
* parent element is a CSS flex container, and the table is a CSS flex item allowed to grow and shrink.
|
|
6716
6612
|
*
|
|
6717
6613
|
*
|
|
6718
6614
|
* In the `"Interactive"` mode, the table has as many rows as defined in the `visibleRowCount` property
|
|
@@ -6762,8 +6658,8 @@ declare module "sap/ui/table/Table" {
|
|
|
6762
6658
|
/**
|
|
6763
6659
|
* @SINCE 1.64
|
|
6764
6660
|
*
|
|
6765
|
-
* Checks for the provided `sap.ui.table.plugins.SelectionPlugin` in the aggregation {@link #getPlugins
|
|
6766
|
-
*
|
|
6661
|
+
* Checks for the provided `sap.ui.table.plugins.SelectionPlugin` in the aggregation {@link #getPlugins plugins}.
|
|
6662
|
+
* and returns its index if found or -1 otherwise.
|
|
6767
6663
|
*
|
|
6768
6664
|
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
6769
6665
|
*/
|
|
@@ -7061,6 +6957,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7061
6957
|
oContextMenu: IContextMenu
|
|
7062
6958
|
): this;
|
|
7063
6959
|
/**
|
|
6960
|
+
* @deprecated (since 1.115)
|
|
6961
|
+
*
|
|
7064
6962
|
* Sets a new value for property {@link #getEditable editable}.
|
|
7065
6963
|
*
|
|
7066
6964
|
* Flag whether the controls of the Table are editable or not (currently this only controls the background
|
|
@@ -7186,16 +7084,16 @@ declare module "sap/ui/table/Table" {
|
|
|
7186
7084
|
*
|
|
7187
7085
|
* The following restrictions apply:
|
|
7188
7086
|
* - Only client models are supported (e.g. {@link sap.ui.model.json.JSONModel}). Grouping does not work
|
|
7189
|
-
*
|
|
7087
|
+
* with OData models.
|
|
7190
7088
|
* - The table can only be grouped by **one** column at a time. Grouping by another column will remove
|
|
7191
|
-
*
|
|
7089
|
+
* the current grouping.
|
|
7192
7090
|
* - For the grouping to work correctly, {@link sap.ui.table.Column#getSortProperty sortProperty} must
|
|
7193
|
-
*
|
|
7091
|
+
* be set for the grouped column.
|
|
7194
7092
|
* - If grouping has been done, sorting and filtering is not possible. Any existing sorting and filtering
|
|
7195
|
-
*
|
|
7093
|
+
* rules do no longer apply. The UI is not updated accordingly (e.g. menu items, sort and filter icons).
|
|
7196
7094
|
*
|
|
7197
7095
|
* - The column, by which the table is grouped, is not visible. It will become visible again only if the
|
|
7198
|
-
*
|
|
7096
|
+
* table is grouped by another column or grouping is disabled.
|
|
7199
7097
|
*
|
|
7200
7098
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7201
7099
|
*
|
|
@@ -7254,8 +7152,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7254
7152
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
7255
7153
|
* not fixed, will scroll.
|
|
7256
7154
|
*
|
|
7257
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
7258
|
-
* client model}.
|
|
7155
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7259
7156
|
*
|
|
7260
7157
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7261
7158
|
*
|
|
@@ -7277,8 +7174,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7277
7174
|
* **Note**
|
|
7278
7175
|
* - Fixed columns need a defined width for the feature to work.
|
|
7279
7176
|
* - The aggregated width of all fixed columns must not exceed the table width. Otherwise the table ignores
|
|
7280
|
-
*
|
|
7281
|
-
*
|
|
7177
|
+
* the value of the property and adapts the behavior in an appropriate way to ensure that the user is still
|
|
7178
|
+
* able to scroll horizontally.
|
|
7282
7179
|
*
|
|
7283
7180
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7284
7181
|
*
|
|
@@ -7298,8 +7195,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7298
7195
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
7299
7196
|
* fixed, will scroll.
|
|
7300
7197
|
*
|
|
7301
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
7302
|
-
* client model}.
|
|
7198
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7303
7199
|
*
|
|
7304
7200
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7305
7201
|
*
|
|
@@ -7427,10 +7323,10 @@ declare module "sap/ui/table/Table" {
|
|
|
7427
7323
|
* height based on the content density configuration. The actual height can increase based on the content.
|
|
7428
7324
|
*
|
|
7429
7325
|
* In the table's body, it defines the height of the row content. The actual row height is also influenced
|
|
7430
|
-
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode
|
|
7431
|
-
*
|
|
7432
|
-
*
|
|
7433
|
-
*
|
|
7326
|
+
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode Fixed }
|
|
7327
|
+
* or {@link sap.ui.table.VisibleRowCountMode Interactive}, the value defines the minimum height, and the
|
|
7328
|
+
* actual height can increase based on the content. If the mode is {@link sap.ui.table.VisibleRowCountMode Auto},
|
|
7329
|
+
* the value defines the actual height, and any content that doesn't fit is cut off.
|
|
7434
7330
|
*
|
|
7435
7331
|
* If no value is set (includes 0), a default height is applied based on the content density configuration.
|
|
7436
7332
|
* In any `visibleRowCountMode`, the actual height can increase based on the content.
|
|
@@ -7656,7 +7552,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7656
7552
|
* be set manually. Restrictions:
|
|
7657
7553
|
* - All rows need to have the same height.
|
|
7658
7554
|
* - The table must be rendered without siblings in its parent DOM element. The only exception is if the
|
|
7659
|
-
*
|
|
7555
|
+
* parent element is a CSS flex container, and the table is a CSS flex item allowed to grow and shrink.
|
|
7660
7556
|
*
|
|
7661
7557
|
*
|
|
7662
7558
|
* In the `"Interactive"` mode, the table has as many rows as defined in the `visibleRowCount` property
|
|
@@ -7723,6 +7619,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7723
7619
|
*/
|
|
7724
7620
|
unbindRows(): this;
|
|
7725
7621
|
}
|
|
7622
|
+
export default Table;
|
|
7726
7623
|
|
|
7727
7624
|
export interface $TableSettings extends $ControlSettings {
|
|
7728
7625
|
/**
|
|
@@ -7737,10 +7634,10 @@ declare module "sap/ui/table/Table" {
|
|
|
7737
7634
|
* height based on the content density configuration. The actual height can increase based on the content.
|
|
7738
7635
|
*
|
|
7739
7636
|
* In the table's body, it defines the height of the row content. The actual row height is also influenced
|
|
7740
|
-
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode
|
|
7741
|
-
*
|
|
7742
|
-
*
|
|
7743
|
-
*
|
|
7637
|
+
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode Fixed }
|
|
7638
|
+
* or {@link sap.ui.table.VisibleRowCountMode Interactive}, the value defines the minimum height, and the
|
|
7639
|
+
* actual height can increase based on the content. If the mode is {@link sap.ui.table.VisibleRowCountMode Auto},
|
|
7640
|
+
* the value defines the actual height, and any content that doesn't fit is cut off.
|
|
7744
7641
|
*
|
|
7745
7642
|
* If no value is set (includes 0), a default height is applied based on the content density configuration.
|
|
7746
7643
|
* In any `visibleRowCountMode`, the actual height can increase based on the content.
|
|
@@ -7812,6 +7709,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7812
7709
|
selectedIndex?: int | PropertyBindingInfo | `{${string}}`;
|
|
7813
7710
|
|
|
7814
7711
|
/**
|
|
7712
|
+
* @deprecated (since 1.115)
|
|
7713
|
+
*
|
|
7815
7714
|
* Flag whether the controls of the Table are editable or not (currently this only controls the background
|
|
7816
7715
|
* color in certain themes!)
|
|
7817
7716
|
*/
|
|
@@ -7850,16 +7749,16 @@ declare module "sap/ui/table/Table" {
|
|
|
7850
7749
|
*
|
|
7851
7750
|
* The following restrictions apply:
|
|
7852
7751
|
* - Only client models are supported (e.g. {@link sap.ui.model.json.JSONModel}). Grouping does not work
|
|
7853
|
-
*
|
|
7752
|
+
* with OData models.
|
|
7854
7753
|
* - The table can only be grouped by **one** column at a time. Grouping by another column will remove
|
|
7855
|
-
*
|
|
7754
|
+
* the current grouping.
|
|
7856
7755
|
* - For the grouping to work correctly, {@link sap.ui.table.Column#getSortProperty sortProperty} must
|
|
7857
|
-
*
|
|
7756
|
+
* be set for the grouped column.
|
|
7858
7757
|
* - If grouping has been done, sorting and filtering is not possible. Any existing sorting and filtering
|
|
7859
|
-
*
|
|
7758
|
+
* rules do no longer apply. The UI is not updated accordingly (e.g. menu items, sort and filter icons).
|
|
7860
7759
|
*
|
|
7861
7760
|
* - The column, by which the table is grouped, is not visible. It will become visible again only if the
|
|
7862
|
-
*
|
|
7761
|
+
* table is grouped by another column or grouping is disabled.
|
|
7863
7762
|
*/
|
|
7864
7763
|
enableGrouping?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
7865
7764
|
|
|
@@ -7888,7 +7787,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7888
7787
|
* be set manually. Restrictions:
|
|
7889
7788
|
* - All rows need to have the same height.
|
|
7890
7789
|
* - The table must be rendered without siblings in its parent DOM element. The only exception is if the
|
|
7891
|
-
*
|
|
7790
|
+
* parent element is a CSS flex container, and the table is a CSS flex item allowed to grow and shrink.
|
|
7892
7791
|
*
|
|
7893
7792
|
*
|
|
7894
7793
|
* In the `"Interactive"` mode, the table has as many rows as defined in the `visibleRowCount` property
|
|
@@ -7911,8 +7810,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7911
7810
|
* **Note**
|
|
7912
7811
|
* - Fixed columns need a defined width for the feature to work.
|
|
7913
7812
|
* - The aggregated width of all fixed columns must not exceed the table width. Otherwise the table ignores
|
|
7914
|
-
*
|
|
7915
|
-
*
|
|
7813
|
+
* the value of the property and adapts the behavior in an appropriate way to ensure that the user is still
|
|
7814
|
+
* able to scroll horizontally.
|
|
7916
7815
|
*/
|
|
7917
7816
|
fixedColumnCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7918
7817
|
|
|
@@ -7920,8 +7819,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7920
7819
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
7921
7820
|
* fixed, will scroll.
|
|
7922
7821
|
*
|
|
7923
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
7924
|
-
* client model}.
|
|
7822
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7925
7823
|
*/
|
|
7926
7824
|
fixedRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7927
7825
|
|
|
@@ -7931,8 +7829,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7931
7829
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
7932
7830
|
* not fixed, will scroll.
|
|
7933
7831
|
*
|
|
7934
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
7935
|
-
* client model}.
|
|
7832
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7936
7833
|
*/
|
|
7937
7834
|
fixedBottomRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7938
7835
|
|
|
@@ -8044,14 +7941,13 @@ declare module "sap/ui/table/Table" {
|
|
|
8044
7941
|
* The cells of rows can be defined with the {@link sap.ui.table.Column#setTemplate template} aggregation
|
|
8045
7942
|
* of the columns in the {@link sap.ui.table.Table#getColumns columns} aggregation of the table. The actions
|
|
8046
7943
|
* of rows can be defined with the {@link sap.ui.table.Table#setRowActionTemplate rowActionTemplate} aggregation
|
|
8047
|
-
* of the table. Furthermore, row-specific settings can be defined with the {@link sap.ui.table.Table#setRowSettingsTemplate
|
|
8048
|
-
*
|
|
7944
|
+
* of the table. Furthermore, row-specific settings can be defined with the {@link sap.ui.table.Table#setRowSettingsTemplate rowSettingsTemplate }
|
|
7945
|
+
* aggregation of the table.
|
|
8049
7946
|
*
|
|
8050
7947
|
* **Note:** During the binding of rows, the (exact) count needs to be available in the table and has to
|
|
8051
7948
|
* be requested. If the count is not requested, this may lead to unexpected behavior in the table, such
|
|
8052
7949
|
* as scrolling, accessibility, or keyboard issues. Please refer to the documentation of the used model
|
|
8053
|
-
* for information on requesting the count, for example, {@link sap.ui.model.odata.v2.ODataModel} or {@link
|
|
8054
|
-
* sap.ui.model.odata.v4.ODataModel}.
|
|
7950
|
+
* for information on requesting the count, for example, {@link sap.ui.model.odata.v2.ODataModel} or {@link sap.ui.model.odata.v4.ODataModel}.
|
|
8055
7951
|
*/
|
|
8056
7952
|
rows?: Row[] | Row | AggregationBindingInfo | `{${string}}`;
|
|
8057
7953
|
|
|
@@ -8097,7 +7993,7 @@ declare module "sap/ui/table/Table" {
|
|
|
8097
7993
|
*
|
|
8098
7994
|
* The following restrictions apply:
|
|
8099
7995
|
* - If a selection plugin is applied to the table, the table's selection API must not be used. Instead,
|
|
8100
|
-
*
|
|
7996
|
+
* use the API of the plugin.
|
|
8101
7997
|
* - Only one MultiSelectionPlugin can be applied. No other plugins can be applied.
|
|
8102
7998
|
*/
|
|
8103
7999
|
plugins?:
|
|
@@ -8126,55 +8022,59 @@ declare module "sap/ui/table/Table" {
|
|
|
8126
8022
|
*
|
|
8127
8023
|
* **Note:** If a selection plugin is applied to the table, this event won't be fired.
|
|
8128
8024
|
*/
|
|
8129
|
-
rowSelectionChange?: (
|
|
8025
|
+
rowSelectionChange?: (
|
|
8026
|
+
oEvent: Event<$TableRowSelectionChangeEventParameters>
|
|
8027
|
+
) => void;
|
|
8130
8028
|
|
|
8131
8029
|
/**
|
|
8132
8030
|
* fired when a column of the table has been selected
|
|
8133
8031
|
*/
|
|
8134
|
-
columnSelect?: (oEvent: Event) => void;
|
|
8032
|
+
columnSelect?: (oEvent: Event<$TableColumnSelectEventParameters>) => void;
|
|
8135
8033
|
|
|
8136
8034
|
/**
|
|
8137
8035
|
* fired when a table column is resized.
|
|
8138
8036
|
*/
|
|
8139
|
-
columnResize?: (oEvent: Event) => void;
|
|
8037
|
+
columnResize?: (oEvent: Event<$TableColumnResizeEventParameters>) => void;
|
|
8140
8038
|
|
|
8141
8039
|
/**
|
|
8142
8040
|
* fired when a table column is moved.
|
|
8143
8041
|
*/
|
|
8144
|
-
columnMove?: (oEvent: Event) => void;
|
|
8042
|
+
columnMove?: (oEvent: Event<$TableColumnMoveEventParameters>) => void;
|
|
8145
8043
|
|
|
8146
8044
|
/**
|
|
8147
|
-
* This event is fired before a sort order is applied to a column, if the table is sorted via {@link sap.ui.table.Table#sort}
|
|
8045
|
+
* This event is fired before a sort order is applied to a column, if the table is sorted via {@link sap.ui.table.Table#sort }
|
|
8148
8046
|
* call or user interaction with the column header.
|
|
8149
8047
|
*
|
|
8150
8048
|
* Sorters that are directly applied to the table binding will not fire this event.
|
|
8151
8049
|
*/
|
|
8152
|
-
sort?: (oEvent: Event) => void;
|
|
8050
|
+
sort?: (oEvent: Event<$TableSortEventParameters>) => void;
|
|
8153
8051
|
|
|
8154
8052
|
/**
|
|
8155
|
-
* This event is fired before a filter is applied to a column, if the table is filtered via {@link sap.ui.table.Table#filter}
|
|
8053
|
+
* This event is fired before a filter is applied to a column, if the table is filtered via {@link sap.ui.table.Table#filter }
|
|
8156
8054
|
* call or user interaction with the column header.
|
|
8157
8055
|
*
|
|
8158
8056
|
* Filters that are directly applied to the table binding will not fire this event.
|
|
8159
8057
|
*/
|
|
8160
|
-
filter?: (oEvent: Event) => void;
|
|
8058
|
+
filter?: (oEvent: Event<$TableFilterEventParameters>) => void;
|
|
8161
8059
|
|
|
8162
8060
|
/**
|
|
8163
8061
|
* fired when the table is grouped (experimental!).
|
|
8164
8062
|
*/
|
|
8165
|
-
group?: (oEvent: Event) => void;
|
|
8063
|
+
group?: (oEvent: Event<$TableGroupEventParameters>) => void;
|
|
8166
8064
|
|
|
8167
8065
|
/**
|
|
8168
8066
|
* fired when the visibility of a table column is changed.
|
|
8169
8067
|
*/
|
|
8170
|
-
columnVisibility?: (
|
|
8068
|
+
columnVisibility?: (
|
|
8069
|
+
oEvent: Event<$TableColumnVisibilityEventParameters>
|
|
8070
|
+
) => void;
|
|
8171
8071
|
|
|
8172
8072
|
/**
|
|
8173
8073
|
* @SINCE 1.21.0
|
|
8174
8074
|
*
|
|
8175
8075
|
* fired when the user clicks a cell of the table (experimental!).
|
|
8176
8076
|
*/
|
|
8177
|
-
cellClick?: (oEvent: Event) => void;
|
|
8077
|
+
cellClick?: (oEvent: Event<$TableCellClickEventParameters>) => void;
|
|
8178
8078
|
|
|
8179
8079
|
/**
|
|
8180
8080
|
* @SINCE 1.21.0
|
|
@@ -8182,21 +8082,25 @@ declare module "sap/ui/table/Table" {
|
|
|
8182
8082
|
*
|
|
8183
8083
|
* fired when the user clicks a cell of the table.
|
|
8184
8084
|
*/
|
|
8185
|
-
cellContextmenu?: (
|
|
8085
|
+
cellContextmenu?: (
|
|
8086
|
+
oEvent: Event<$TableCellContextmenuEventParameters>
|
|
8087
|
+
) => void;
|
|
8186
8088
|
|
|
8187
8089
|
/**
|
|
8188
8090
|
* @SINCE 1.54
|
|
8189
8091
|
*
|
|
8190
8092
|
* Fired when the user requests the context menu for a table cell.
|
|
8191
8093
|
*/
|
|
8192
|
-
beforeOpenContextMenu?: (
|
|
8094
|
+
beforeOpenContextMenu?: (
|
|
8095
|
+
oEvent: Event<$TableBeforeOpenContextMenuEventParameters>
|
|
8096
|
+
) => void;
|
|
8193
8097
|
|
|
8194
8098
|
/**
|
|
8195
8099
|
* @SINCE 1.21.0
|
|
8196
8100
|
*
|
|
8197
8101
|
* fired when a column of the table should be freezed
|
|
8198
8102
|
*/
|
|
8199
|
-
columnFreeze?: (oEvent: Event) => void;
|
|
8103
|
+
columnFreeze?: (oEvent: Event<$TableColumnFreezeEventParameters>) => void;
|
|
8200
8104
|
|
|
8201
8105
|
/**
|
|
8202
8106
|
* @SINCE 1.23.0
|
|
@@ -8204,7 +8108,7 @@ declare module "sap/ui/table/Table" {
|
|
|
8204
8108
|
* This event is triggered when the custom filter item of the column menu is pressed. The column on which
|
|
8205
8109
|
* the event was triggered is passed as parameter.
|
|
8206
8110
|
*/
|
|
8207
|
-
customFilter?: (oEvent: Event) => void;
|
|
8111
|
+
customFilter?: (oEvent: Event<$TableCustomFilterEventParameters>) => void;
|
|
8208
8112
|
|
|
8209
8113
|
/**
|
|
8210
8114
|
* @SINCE 1.37.0
|
|
@@ -8212,14 +8116,18 @@ declare module "sap/ui/table/Table" {
|
|
|
8212
8116
|
* This event gets fired when the first visible row is changed. It should only be used by composite controls.
|
|
8213
8117
|
* The event even is fired when setFirstVisibleRow is called programmatically.
|
|
8214
8118
|
*/
|
|
8215
|
-
firstVisibleRowChanged?: (
|
|
8119
|
+
firstVisibleRowChanged?: (
|
|
8120
|
+
oEvent: Event<$TableFirstVisibleRowChangedEventParameters>
|
|
8121
|
+
) => void;
|
|
8216
8122
|
|
|
8217
8123
|
/**
|
|
8218
8124
|
* @SINCE 1.37.0
|
|
8219
8125
|
*
|
|
8220
8126
|
* This event gets fired when the busy state of the table changes. It should only be used by composite controls.
|
|
8221
8127
|
*/
|
|
8222
|
-
busyStateChanged?: (
|
|
8128
|
+
busyStateChanged?: (
|
|
8129
|
+
oEvent: Event<$TableBusyStateChangedEventParameters>
|
|
8130
|
+
) => void;
|
|
8223
8131
|
|
|
8224
8132
|
/**
|
|
8225
8133
|
* @SINCE 1.60
|
|
@@ -8227,7 +8135,7 @@ declare module "sap/ui/table/Table" {
|
|
|
8227
8135
|
* This event gets fired when the user pastes content from the clipboard to the table. Pasting can be done
|
|
8228
8136
|
* with the standard keyboard shortcut, if the focus is inside the table.
|
|
8229
8137
|
*/
|
|
8230
|
-
paste?: (oEvent: Event) => void;
|
|
8138
|
+
paste?: (oEvent: Event<$TablePasteEventParameters>) => void;
|
|
8231
8139
|
|
|
8232
8140
|
/**
|
|
8233
8141
|
* @SINCE 1.86
|
|
@@ -8239,6 +8147,239 @@ declare module "sap/ui/table/Table" {
|
|
|
8239
8147
|
*/
|
|
8240
8148
|
rowsUpdated?: (oEvent: Event) => void;
|
|
8241
8149
|
}
|
|
8150
|
+
|
|
8151
|
+
export interface $TableBeforeOpenContextMenuEventParameters {
|
|
8152
|
+
/**
|
|
8153
|
+
* Row index where the context menu opens.
|
|
8154
|
+
*/
|
|
8155
|
+
rowIndex?: int;
|
|
8156
|
+
|
|
8157
|
+
/**
|
|
8158
|
+
* Column index where the context menu opens. This is the index of the column in the `columns` aggregation.
|
|
8159
|
+
*/
|
|
8160
|
+
columnIndex?: int;
|
|
8161
|
+
|
|
8162
|
+
/**
|
|
8163
|
+
* Context menu
|
|
8164
|
+
*/
|
|
8165
|
+
contextMenu?: IContextMenu;
|
|
8166
|
+
}
|
|
8167
|
+
|
|
8168
|
+
export interface $TableBusyStateChangedEventParameters {
|
|
8169
|
+
/**
|
|
8170
|
+
* busy state
|
|
8171
|
+
*/
|
|
8172
|
+
busy?: boolean;
|
|
8173
|
+
}
|
|
8174
|
+
|
|
8175
|
+
export interface $TableCellClickEventParameters {
|
|
8176
|
+
/**
|
|
8177
|
+
* The control of the cell.
|
|
8178
|
+
*/
|
|
8179
|
+
cellControl?: Control;
|
|
8180
|
+
|
|
8181
|
+
/**
|
|
8182
|
+
* DOM reference of the clicked cell. Can be used to position the context menu.
|
|
8183
|
+
*/
|
|
8184
|
+
cellDomRef?: Object;
|
|
8185
|
+
|
|
8186
|
+
/**
|
|
8187
|
+
* Row index of the selected cell.
|
|
8188
|
+
*/
|
|
8189
|
+
rowIndex?: int;
|
|
8190
|
+
|
|
8191
|
+
/**
|
|
8192
|
+
* Column index of the selected cell. This is the index of visible columns and might differ from the index
|
|
8193
|
+
* maintained in the column aggregation.
|
|
8194
|
+
*/
|
|
8195
|
+
columnIndex?: int;
|
|
8196
|
+
|
|
8197
|
+
/**
|
|
8198
|
+
* Column ID of the selected cell.
|
|
8199
|
+
*/
|
|
8200
|
+
columnId?: string;
|
|
8201
|
+
|
|
8202
|
+
/**
|
|
8203
|
+
* Row binding context of the selected cell.
|
|
8204
|
+
*/
|
|
8205
|
+
rowBindingContext?: Context;
|
|
8206
|
+
}
|
|
8207
|
+
|
|
8208
|
+
export interface $TableCellContextmenuEventParameters {
|
|
8209
|
+
/**
|
|
8210
|
+
* The control of the cell.
|
|
8211
|
+
*/
|
|
8212
|
+
cellControl?: Control;
|
|
8213
|
+
|
|
8214
|
+
/**
|
|
8215
|
+
* DOM reference of the clicked cell. Can be used to position the context menu.
|
|
8216
|
+
*/
|
|
8217
|
+
cellDomRef?: Object;
|
|
8218
|
+
|
|
8219
|
+
/**
|
|
8220
|
+
* Row index of the selected cell.
|
|
8221
|
+
*/
|
|
8222
|
+
rowIndex?: int;
|
|
8223
|
+
|
|
8224
|
+
/**
|
|
8225
|
+
* Column index of the selected cell. This is the index of visible columns and might differ from the index
|
|
8226
|
+
* maintained in the column aggregation.
|
|
8227
|
+
*/
|
|
8228
|
+
columnIndex?: int;
|
|
8229
|
+
|
|
8230
|
+
/**
|
|
8231
|
+
* Column ID of the selected cell.
|
|
8232
|
+
*/
|
|
8233
|
+
columnId?: string;
|
|
8234
|
+
|
|
8235
|
+
/**
|
|
8236
|
+
* Row binding context of the selected cell.
|
|
8237
|
+
*/
|
|
8238
|
+
rowBindingContext?: Context;
|
|
8239
|
+
}
|
|
8240
|
+
|
|
8241
|
+
export interface $TableColumnFreezeEventParameters {
|
|
8242
|
+
/**
|
|
8243
|
+
* reference to the column to freeze
|
|
8244
|
+
*/
|
|
8245
|
+
column?: Column;
|
|
8246
|
+
}
|
|
8247
|
+
|
|
8248
|
+
export interface $TableColumnMoveEventParameters {
|
|
8249
|
+
/**
|
|
8250
|
+
* moved column.
|
|
8251
|
+
*/
|
|
8252
|
+
column?: Column;
|
|
8253
|
+
|
|
8254
|
+
/**
|
|
8255
|
+
* new position of the column.
|
|
8256
|
+
*/
|
|
8257
|
+
newPos?: int;
|
|
8258
|
+
}
|
|
8259
|
+
|
|
8260
|
+
export interface $TableColumnResizeEventParameters {
|
|
8261
|
+
/**
|
|
8262
|
+
* resized column.
|
|
8263
|
+
*/
|
|
8264
|
+
column?: Column;
|
|
8265
|
+
|
|
8266
|
+
/**
|
|
8267
|
+
* new width of the table column as CSS Size definition.
|
|
8268
|
+
*/
|
|
8269
|
+
width?: CSSSize;
|
|
8270
|
+
}
|
|
8271
|
+
|
|
8272
|
+
export interface $TableColumnSelectEventParameters {
|
|
8273
|
+
/**
|
|
8274
|
+
* reference to the selected column
|
|
8275
|
+
*/
|
|
8276
|
+
column?: Column;
|
|
8277
|
+
}
|
|
8278
|
+
|
|
8279
|
+
export interface $TableColumnVisibilityEventParameters {
|
|
8280
|
+
/**
|
|
8281
|
+
* affected column.
|
|
8282
|
+
*/
|
|
8283
|
+
column?: Column;
|
|
8284
|
+
|
|
8285
|
+
/**
|
|
8286
|
+
* new value of the visible property.
|
|
8287
|
+
*/
|
|
8288
|
+
newVisible?: boolean;
|
|
8289
|
+
}
|
|
8290
|
+
|
|
8291
|
+
export interface $TableCustomFilterEventParameters {
|
|
8292
|
+
/**
|
|
8293
|
+
* The column instance on which the custom filter button was pressed.
|
|
8294
|
+
*/
|
|
8295
|
+
column?: Column;
|
|
8296
|
+
|
|
8297
|
+
/**
|
|
8298
|
+
* Filter value.
|
|
8299
|
+
*/
|
|
8300
|
+
value?: string;
|
|
8301
|
+
}
|
|
8302
|
+
|
|
8303
|
+
export interface $TableFilterEventParameters {
|
|
8304
|
+
/**
|
|
8305
|
+
* filtered column.
|
|
8306
|
+
*/
|
|
8307
|
+
column?: Column;
|
|
8308
|
+
|
|
8309
|
+
/**
|
|
8310
|
+
* filter value.
|
|
8311
|
+
*/
|
|
8312
|
+
value?: string;
|
|
8313
|
+
}
|
|
8314
|
+
|
|
8315
|
+
export interface $TableFirstVisibleRowChangedEventParameters {
|
|
8316
|
+
/**
|
|
8317
|
+
* First visible row
|
|
8318
|
+
*/
|
|
8319
|
+
firstVisibleRow?: int;
|
|
8320
|
+
}
|
|
8321
|
+
|
|
8322
|
+
export interface $TableGroupEventParameters {
|
|
8323
|
+
/**
|
|
8324
|
+
* grouped column.
|
|
8325
|
+
*/
|
|
8326
|
+
column?: Column;
|
|
8327
|
+
}
|
|
8328
|
+
|
|
8329
|
+
export interface $TablePasteEventParameters {
|
|
8330
|
+
/**
|
|
8331
|
+
* 2D array of strings with data from the clipboard. The first dimension represents the rows, and the second
|
|
8332
|
+
* dimension represents the cells of the tabular data.
|
|
8333
|
+
*/
|
|
8334
|
+
data?: string[][];
|
|
8335
|
+
}
|
|
8336
|
+
|
|
8337
|
+
export interface $TableRowSelectionChangeEventParameters {
|
|
8338
|
+
/**
|
|
8339
|
+
* row index which has been clicked so that the selection has been changed (either selected or deselected)
|
|
8340
|
+
*/
|
|
8341
|
+
rowIndex?: int;
|
|
8342
|
+
|
|
8343
|
+
/**
|
|
8344
|
+
* binding context of the row which has been clicked so that selection has been changed
|
|
8345
|
+
*/
|
|
8346
|
+
rowContext?: Context;
|
|
8347
|
+
|
|
8348
|
+
/**
|
|
8349
|
+
* array of row indices which selection has been changed (either selected or deselected)
|
|
8350
|
+
*/
|
|
8351
|
+
rowIndices?: int[];
|
|
8352
|
+
|
|
8353
|
+
/**
|
|
8354
|
+
* indicator if "select all" function is used to select rows
|
|
8355
|
+
*/
|
|
8356
|
+
selectAll?: boolean;
|
|
8357
|
+
|
|
8358
|
+
/**
|
|
8359
|
+
* indicates that the event was fired due to an explicit user interaction like clicking the row header or
|
|
8360
|
+
* using the keyboard (SPACE or ENTER) to select a row or a range of rows.
|
|
8361
|
+
*/
|
|
8362
|
+
userInteraction?: boolean;
|
|
8363
|
+
}
|
|
8364
|
+
|
|
8365
|
+
export interface $TableRowsUpdatedEventParameters {}
|
|
8366
|
+
|
|
8367
|
+
export interface $TableSortEventParameters {
|
|
8368
|
+
/**
|
|
8369
|
+
* sorted column.
|
|
8370
|
+
*/
|
|
8371
|
+
column?: Column;
|
|
8372
|
+
|
|
8373
|
+
/**
|
|
8374
|
+
* Sort Order
|
|
8375
|
+
*/
|
|
8376
|
+
sortOrder?: SortOrder | keyof typeof SortOrder;
|
|
8377
|
+
|
|
8378
|
+
/**
|
|
8379
|
+
* If column was added to sorter this is true. If new sort is started this is set to false
|
|
8380
|
+
*/
|
|
8381
|
+
columnAdded?: boolean;
|
|
8382
|
+
}
|
|
8242
8383
|
}
|
|
8243
8384
|
|
|
8244
8385
|
declare module "sap/ui/table/TablePersoController" {
|
|
@@ -8258,10 +8399,11 @@ declare module "sap/ui/table/TablePersoController" {
|
|
|
8258
8399
|
|
|
8259
8400
|
/**
|
|
8260
8401
|
* @SINCE 1.21.1
|
|
8402
|
+
* @deprecated (since 1.115) - Please use the {@link sap.m.p13n.Engine Engine} for personalization instead.
|
|
8261
8403
|
*
|
|
8262
8404
|
* The TablePersoController can be used to connect a table with a persistence service.
|
|
8263
8405
|
*/
|
|
8264
|
-
|
|
8406
|
+
class TablePersoController extends ManagedObject {
|
|
8265
8407
|
/**
|
|
8266
8408
|
* Constructor for a new TablePersoController.
|
|
8267
8409
|
*
|
|
@@ -8517,6 +8659,7 @@ declare module "sap/ui/table/TablePersoController" {
|
|
|
8517
8659
|
oTable: ID | Table
|
|
8518
8660
|
): this;
|
|
8519
8661
|
}
|
|
8662
|
+
export default TablePersoController;
|
|
8520
8663
|
|
|
8521
8664
|
export interface $TablePersoControllerSettings
|
|
8522
8665
|
extends $ManagedObjectSettings {
|
|
@@ -8582,7 +8725,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8582
8725
|
/**
|
|
8583
8726
|
* The TreeTable control provides a comprehensive set of features to display hierarchical data.
|
|
8584
8727
|
*/
|
|
8585
|
-
|
|
8728
|
+
class TreeTable extends Table {
|
|
8586
8729
|
/**
|
|
8587
8730
|
* Constructor for a new TreeTable.
|
|
8588
8731
|
*
|
|
@@ -8590,8 +8733,8 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8590
8733
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
8591
8734
|
* of the syntax of the settings object.
|
|
8592
8735
|
* See:
|
|
8593
|
-
* {@link topic
|
|
8594
|
-
* {@link topic
|
|
8736
|
+
* {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
|
|
8737
|
+
* {@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
|
|
8595
8738
|
* {@link fiori:/tree-table/ Tree Table}
|
|
8596
8739
|
*/
|
|
8597
8740
|
constructor(
|
|
@@ -8607,8 +8750,8 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8607
8750
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
8608
8751
|
* of the syntax of the settings object.
|
|
8609
8752
|
* See:
|
|
8610
|
-
* {@link topic
|
|
8611
|
-
* {@link topic
|
|
8753
|
+
* {@link https://ui5.sap.com/#/topic/08197fa68e4f479cbe30f639cc1cd22c sap.ui.table}
|
|
8754
|
+
* {@link https://ui5.sap.com/#/topic/148892ff9aea4a18b912829791e38f3e Tables: Which One Should I Choose?}
|
|
8612
8755
|
* {@link fiori:/tree-table/ Tree Table}
|
|
8613
8756
|
*/
|
|
8614
8757
|
constructor(
|
|
@@ -8690,7 +8833,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8690
8833
|
/**
|
|
8691
8834
|
* The function to be called when the event occurs
|
|
8692
8835
|
*/
|
|
8693
|
-
fnFunction: (p1: Event) => void,
|
|
8836
|
+
fnFunction: (p1: Event<$TreeTableToggleOpenStateEventParameters>) => void,
|
|
8694
8837
|
/**
|
|
8695
8838
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.TreeTable` itself
|
|
8696
8839
|
*/
|
|
@@ -8711,7 +8854,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8711
8854
|
/**
|
|
8712
8855
|
* The function to be called when the event occurs
|
|
8713
8856
|
*/
|
|
8714
|
-
fnFunction: (p1: Event) => void,
|
|
8857
|
+
fnFunction: (p1: Event<$TreeTableToggleOpenStateEventParameters>) => void,
|
|
8715
8858
|
/**
|
|
8716
8859
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.TreeTable` itself
|
|
8717
8860
|
*/
|
|
@@ -8746,7 +8889,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8746
8889
|
/**
|
|
8747
8890
|
* The function to be called, when the event occurs
|
|
8748
8891
|
*/
|
|
8749
|
-
fnFunction: (p1: Event) => void,
|
|
8892
|
+
fnFunction: (p1: Event<$TreeTableToggleOpenStateEventParameters>) => void,
|
|
8750
8893
|
/**
|
|
8751
8894
|
* Context object on which the given function had to be called
|
|
8752
8895
|
*/
|
|
@@ -8790,20 +8933,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8790
8933
|
/**
|
|
8791
8934
|
* Parameters to pass along with the event
|
|
8792
8935
|
*/
|
|
8793
|
-
mParameters?:
|
|
8794
|
-
/**
|
|
8795
|
-
* Index of the expanded/collapsed row
|
|
8796
|
-
*/
|
|
8797
|
-
rowIndex?: int;
|
|
8798
|
-
/**
|
|
8799
|
-
* Binding context of the expanded/collapsed row
|
|
8800
|
-
*/
|
|
8801
|
-
rowContext?: object;
|
|
8802
|
-
/**
|
|
8803
|
-
* Flag that indicates whether the row has been expanded or collapsed
|
|
8804
|
-
*/
|
|
8805
|
-
expanded?: boolean;
|
|
8806
|
-
}
|
|
8936
|
+
mParameters?: $TreeTableToggleOpenStateEventParameters
|
|
8807
8937
|
): this;
|
|
8808
8938
|
/**
|
|
8809
8939
|
* @deprecated (since 1.76) - replaced by the `collapseRecursive` binding parameter. May not work with all
|
|
@@ -9193,6 +9323,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
9193
9323
|
bUseGroupMode?: boolean
|
|
9194
9324
|
): this;
|
|
9195
9325
|
}
|
|
9326
|
+
export default TreeTable;
|
|
9196
9327
|
|
|
9197
9328
|
export interface $TreeTableSettings extends $TableSettings {
|
|
9198
9329
|
/**
|
|
@@ -9276,7 +9407,26 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
9276
9407
|
/**
|
|
9277
9408
|
* Fired when a row has been expanded or collapsed by user interaction. Only available in hierarchical mode.
|
|
9278
9409
|
*/
|
|
9279
|
-
toggleOpenState?: (
|
|
9410
|
+
toggleOpenState?: (
|
|
9411
|
+
oEvent: Event<$TreeTableToggleOpenStateEventParameters>
|
|
9412
|
+
) => void;
|
|
9413
|
+
}
|
|
9414
|
+
|
|
9415
|
+
export interface $TreeTableToggleOpenStateEventParameters {
|
|
9416
|
+
/**
|
|
9417
|
+
* Index of the expanded/collapsed row
|
|
9418
|
+
*/
|
|
9419
|
+
rowIndex?: int;
|
|
9420
|
+
|
|
9421
|
+
/**
|
|
9422
|
+
* Binding context of the expanded/collapsed row
|
|
9423
|
+
*/
|
|
9424
|
+
rowContext?: object;
|
|
9425
|
+
|
|
9426
|
+
/**
|
|
9427
|
+
* Flag that indicates whether the row has been expanded or collapsed
|
|
9428
|
+
*/
|
|
9429
|
+
expanded?: boolean;
|
|
9280
9430
|
}
|
|
9281
9431
|
}
|
|
9282
9432
|
|