@openui5/types 1.114.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 +1378 -1019
- package/types/sap.m.d.ts +6945 -4884
- 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 +4625 -2580
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +102 -80
- package/types/sap.ui.integration.d.ts +219 -167
- package/types/sap.ui.layout.d.ts +378 -398
- package/types/sap.ui.mdc.d.ts +21983 -139
- 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 +594 -478
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +839 -587
- 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
|
|
|
@@ -3141,7 +3162,7 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
|
|
|
3141
3162
|
*
|
|
3142
3163
|
* Implements the selection methods for a table.
|
|
3143
3164
|
*/
|
|
3144
|
-
|
|
3165
|
+
class SelectionPlugin extends UI5Element {
|
|
3145
3166
|
/**
|
|
3146
3167
|
* Constructs an instance of sap.ui.table.plugins.SelectionPlugin
|
|
3147
3168
|
*
|
|
@@ -3291,6 +3312,7 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
|
|
|
3291
3312
|
bEnabled?: boolean
|
|
3292
3313
|
): this;
|
|
3293
3314
|
}
|
|
3315
|
+
export default SelectionPlugin;
|
|
3294
3316
|
|
|
3295
3317
|
export interface $SelectionPluginSettings extends $ElementSettings {
|
|
3296
3318
|
/**
|
|
@@ -3303,6 +3325,8 @@ declare module "sap/ui/table/plugins/SelectionPlugin" {
|
|
|
3303
3325
|
*/
|
|
3304
3326
|
selectionChange?: (oEvent: Event) => void;
|
|
3305
3327
|
}
|
|
3328
|
+
|
|
3329
|
+
export interface $SelectionPluginSelectionChangeEventParameters {}
|
|
3306
3330
|
}
|
|
3307
3331
|
|
|
3308
3332
|
declare module "sap/ui/table/Row" {
|
|
@@ -3317,7 +3341,7 @@ declare module "sap/ui/table/Row" {
|
|
|
3317
3341
|
/**
|
|
3318
3342
|
* The row.
|
|
3319
3343
|
*/
|
|
3320
|
-
|
|
3344
|
+
class Row extends UI5Element {
|
|
3321
3345
|
/**
|
|
3322
3346
|
* Constructor for a new Row.
|
|
3323
3347
|
*
|
|
@@ -3459,6 +3483,7 @@ declare module "sap/ui/table/Row" {
|
|
|
3459
3483
|
vCell: int | string | Control
|
|
3460
3484
|
): Control | null;
|
|
3461
3485
|
}
|
|
3486
|
+
export default Row;
|
|
3462
3487
|
|
|
3463
3488
|
export interface $RowSettings extends $ElementSettings {
|
|
3464
3489
|
/**
|
|
@@ -3489,7 +3514,7 @@ declare module "sap/ui/table/RowAction" {
|
|
|
3489
3514
|
* more action items are available as the available space allows to display an overflow mechanism is provided.
|
|
3490
3515
|
* This control must only be used in the context of the `sap.ui.table.Table` control to define row actions.
|
|
3491
3516
|
*/
|
|
3492
|
-
|
|
3517
|
+
class RowAction extends Control {
|
|
3493
3518
|
/**
|
|
3494
3519
|
* Constructor for a new RowAction.
|
|
3495
3520
|
*
|
|
@@ -3649,6 +3674,7 @@ declare module "sap/ui/table/RowAction" {
|
|
|
3649
3674
|
bVisible?: boolean
|
|
3650
3675
|
): this;
|
|
3651
3676
|
}
|
|
3677
|
+
export default RowAction;
|
|
3652
3678
|
|
|
3653
3679
|
export interface $RowActionSettings extends $ControlSettings {
|
|
3654
3680
|
/**
|
|
@@ -3672,8 +3698,6 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3672
3698
|
|
|
3673
3699
|
import Event from "sap/ui/base/Event";
|
|
3674
3700
|
|
|
3675
|
-
import Row from "sap/ui/table/Row";
|
|
3676
|
-
|
|
3677
3701
|
import { URI } from "sap/ui/core/library";
|
|
3678
3702
|
|
|
3679
3703
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
@@ -3682,13 +3706,15 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3682
3706
|
|
|
3683
3707
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
3684
3708
|
|
|
3709
|
+
import Row from "sap/ui/table/Row";
|
|
3710
|
+
|
|
3685
3711
|
/**
|
|
3686
3712
|
* @SINCE 1.45
|
|
3687
3713
|
*
|
|
3688
3714
|
* An action items to be displayed in a `RowAction` control. This element must only be used in the context
|
|
3689
3715
|
* of the `sap.ui.table.Table` control to define row actions.
|
|
3690
3716
|
*/
|
|
3691
|
-
|
|
3717
|
+
class RowActionItem extends UI5Element {
|
|
3692
3718
|
/**
|
|
3693
3719
|
* Constructor for a new RowActionItem.
|
|
3694
3720
|
*
|
|
@@ -3768,7 +3794,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3768
3794
|
/**
|
|
3769
3795
|
* The function to be called when the event occurs
|
|
3770
3796
|
*/
|
|
3771
|
-
fnFunction: (p1: Event) => void,
|
|
3797
|
+
fnFunction: (p1: Event<$RowActionItemPressEventParameters>) => void,
|
|
3772
3798
|
/**
|
|
3773
3799
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.RowActionItem` itself
|
|
3774
3800
|
*/
|
|
@@ -3788,7 +3814,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3788
3814
|
/**
|
|
3789
3815
|
* The function to be called when the event occurs
|
|
3790
3816
|
*/
|
|
3791
|
-
fnFunction: (p1: Event) => void,
|
|
3817
|
+
fnFunction: (p1: Event<$RowActionItemPressEventParameters>) => void,
|
|
3792
3818
|
/**
|
|
3793
3819
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.RowActionItem` itself
|
|
3794
3820
|
*/
|
|
@@ -3805,7 +3831,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3805
3831
|
/**
|
|
3806
3832
|
* The function to be called, when the event occurs
|
|
3807
3833
|
*/
|
|
3808
|
-
fnFunction: (p1: Event) => void,
|
|
3834
|
+
fnFunction: (p1: Event<$RowActionItemPressEventParameters>) => void,
|
|
3809
3835
|
/**
|
|
3810
3836
|
* Context object on which the given function had to be called
|
|
3811
3837
|
*/
|
|
@@ -3822,16 +3848,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3822
3848
|
/**
|
|
3823
3849
|
* Parameters to pass along with the event
|
|
3824
3850
|
*/
|
|
3825
|
-
mParameters?:
|
|
3826
|
-
/**
|
|
3827
|
-
* The item which was pressed.
|
|
3828
|
-
*/
|
|
3829
|
-
item?: RowActionItem;
|
|
3830
|
-
/**
|
|
3831
|
-
* The table row to which the pressed item belongs to.
|
|
3832
|
-
*/
|
|
3833
|
-
row?: Row;
|
|
3834
|
-
}
|
|
3851
|
+
mParameters?: $RowActionItemPressEventParameters
|
|
3835
3852
|
): this;
|
|
3836
3853
|
/**
|
|
3837
3854
|
* Gets current value of property {@link #getIcon icon}.
|
|
@@ -3940,6 +3957,7 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3940
3957
|
bVisible?: boolean
|
|
3941
3958
|
): this;
|
|
3942
3959
|
}
|
|
3960
|
+
export default RowActionItem;
|
|
3943
3961
|
|
|
3944
3962
|
export interface $RowActionItemSettings extends $ElementSettings {
|
|
3945
3963
|
/**
|
|
@@ -3969,7 +3987,19 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3969
3987
|
/**
|
|
3970
3988
|
* The `press` is fired when the user triggers the corresponding action.
|
|
3971
3989
|
*/
|
|
3972
|
-
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;
|
|
3973
4003
|
}
|
|
3974
4004
|
}
|
|
3975
4005
|
|
|
@@ -3986,7 +4016,7 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
3986
4016
|
* The `RowSettings` control allows you to configure a row. You can only use this control in the context
|
|
3987
4017
|
* of the `sap.ui.table.Table` control to define row settings.
|
|
3988
4018
|
*/
|
|
3989
|
-
|
|
4019
|
+
class RowSettings extends UI5Element {
|
|
3990
4020
|
/**
|
|
3991
4021
|
* Constructor for new RowSettings.
|
|
3992
4022
|
*
|
|
@@ -4055,14 +4085,13 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4055
4085
|
* The highlight state of the rows.
|
|
4056
4086
|
*
|
|
4057
4087
|
* If the highlight is set to {@link sap.ui.core.MessageType sap.ui.core.MessageType.None} (default), no
|
|
4058
|
-
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link
|
|
4059
|
-
*
|
|
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}.
|
|
4060
4090
|
*
|
|
4061
|
-
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText
|
|
4062
|
-
*
|
|
4063
|
-
*
|
|
4064
|
-
*
|
|
4065
|
-
* 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.
|
|
4066
4095
|
*
|
|
4067
4096
|
* Default value is `"None"`.
|
|
4068
4097
|
*
|
|
@@ -4106,14 +4135,13 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4106
4135
|
* The highlight state of the rows.
|
|
4107
4136
|
*
|
|
4108
4137
|
* If the highlight is set to {@link sap.ui.core.MessageType sap.ui.core.MessageType.None} (default), no
|
|
4109
|
-
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link
|
|
4110
|
-
*
|
|
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}.
|
|
4111
4140
|
*
|
|
4112
|
-
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText
|
|
4113
|
-
*
|
|
4114
|
-
*
|
|
4115
|
-
*
|
|
4116
|
-
* 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.
|
|
4117
4145
|
*
|
|
4118
4146
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4119
4147
|
*
|
|
@@ -4171,6 +4199,7 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4171
4199
|
bNavigated?: boolean
|
|
4172
4200
|
): this;
|
|
4173
4201
|
}
|
|
4202
|
+
export default RowSettings;
|
|
4174
4203
|
|
|
4175
4204
|
export interface $RowSettingsSettings extends $ElementSettings {
|
|
4176
4205
|
/**
|
|
@@ -4179,14 +4208,13 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4179
4208
|
* The highlight state of the rows.
|
|
4180
4209
|
*
|
|
4181
4210
|
* If the highlight is set to {@link sap.ui.core.MessageType sap.ui.core.MessageType.None} (default), no
|
|
4182
|
-
* highlights are visible. Valid values for the `highlight` property are values of the enumerations {@link
|
|
4183
|
-
*
|
|
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}.
|
|
4184
4213
|
*
|
|
4185
|
-
* Accessibility support is provided through the associated {@link sap.ui.table.RowSettings#setHighlightText
|
|
4186
|
-
*
|
|
4187
|
-
*
|
|
4188
|
-
*
|
|
4189
|
-
* 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.
|
|
4190
4218
|
*/
|
|
4191
4219
|
highlight?: string | PropertyBindingInfo;
|
|
4192
4220
|
|
|
@@ -4214,7 +4242,7 @@ declare module "sap/ui/table/RowSettings" {
|
|
|
4214
4242
|
declare module "sap/ui/table/Table" {
|
|
4215
4243
|
import { default as Control, $ControlSettings } from "sap/ui/core/Control";
|
|
4216
4244
|
|
|
4217
|
-
import { ID, IContextMenu,
|
|
4245
|
+
import { ID, IContextMenu, Toolbar, CSSSize } from "sap/ui/core/library";
|
|
4218
4246
|
|
|
4219
4247
|
import Column from "sap/ui/table/Column";
|
|
4220
4248
|
|
|
@@ -4231,22 +4259,22 @@ declare module "sap/ui/table/Table" {
|
|
|
4231
4259
|
|
|
4232
4260
|
import Export from "sap/ui/core/util/Export";
|
|
4233
4261
|
|
|
4262
|
+
import Binding from "sap/ui/model/Binding";
|
|
4263
|
+
|
|
4234
4264
|
import Context from "sap/ui/model/Context";
|
|
4235
4265
|
|
|
4266
|
+
import DragDropBase from "sap/ui/core/dnd/DragDropBase";
|
|
4267
|
+
|
|
4268
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4269
|
+
|
|
4236
4270
|
import {
|
|
4237
|
-
SortOrder,
|
|
4238
4271
|
NavigationMode,
|
|
4239
4272
|
SelectionBehavior,
|
|
4240
4273
|
SelectionMode,
|
|
4241
4274
|
VisibleRowCountMode,
|
|
4275
|
+
SortOrder,
|
|
4242
4276
|
} from "sap/ui/table/library";
|
|
4243
4277
|
|
|
4244
|
-
import Binding from "sap/ui/model/Binding";
|
|
4245
|
-
|
|
4246
|
-
import DragDropBase from "sap/ui/core/dnd/DragDropBase";
|
|
4247
|
-
|
|
4248
|
-
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4249
|
-
|
|
4250
4278
|
import RowAction from "sap/ui/table/RowAction";
|
|
4251
4279
|
|
|
4252
4280
|
import RowSettings from "sap/ui/table/RowSettings";
|
|
@@ -4265,7 +4293,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4265
4293
|
* The Table control relies completely on data binding, and its supported feature set is tightly
|
|
4266
4294
|
* coupled to the data model and binding being used.
|
|
4267
4295
|
*/
|
|
4268
|
-
|
|
4296
|
+
class Table extends Control {
|
|
4269
4297
|
/**
|
|
4270
4298
|
* Constructor for a new Table.
|
|
4271
4299
|
*
|
|
@@ -4273,8 +4301,8 @@ declare module "sap/ui/table/Table" {
|
|
|
4273
4301
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4274
4302
|
* of the syntax of the settings object.
|
|
4275
4303
|
* See:
|
|
4276
|
-
* {@link topic
|
|
4277
|
-
* {@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?}
|
|
4278
4306
|
* {@link fiori:/grid-table/ Grid Table}
|
|
4279
4307
|
*/
|
|
4280
4308
|
constructor(
|
|
@@ -4290,8 +4318,8 @@ declare module "sap/ui/table/Table" {
|
|
|
4290
4318
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4291
4319
|
* of the syntax of the settings object.
|
|
4292
4320
|
* See:
|
|
4293
|
-
* {@link topic
|
|
4294
|
-
* {@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?}
|
|
4295
4323
|
* {@link fiori:/grid-table/ Grid Table}
|
|
4296
4324
|
*/
|
|
4297
4325
|
constructor(
|
|
@@ -4410,7 +4438,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4410
4438
|
/**
|
|
4411
4439
|
* @SINCE 1.54
|
|
4412
4440
|
*
|
|
4413
|
-
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu}
|
|
4441
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
4414
4442
|
* event of this `sap.ui.table.Table`.
|
|
4415
4443
|
*
|
|
4416
4444
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -4429,7 +4457,9 @@ declare module "sap/ui/table/Table" {
|
|
|
4429
4457
|
/**
|
|
4430
4458
|
* The function to be called when the event occurs
|
|
4431
4459
|
*/
|
|
4432
|
-
fnFunction: (
|
|
4460
|
+
fnFunction: (
|
|
4461
|
+
p1: Event<$TableBeforeOpenContextMenuEventParameters>
|
|
4462
|
+
) => void,
|
|
4433
4463
|
/**
|
|
4434
4464
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4435
4465
|
*/
|
|
@@ -4438,7 +4468,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4438
4468
|
/**
|
|
4439
4469
|
* @SINCE 1.54
|
|
4440
4470
|
*
|
|
4441
|
-
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu}
|
|
4471
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
4442
4472
|
* event of this `sap.ui.table.Table`.
|
|
4443
4473
|
*
|
|
4444
4474
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -4452,7 +4482,9 @@ declare module "sap/ui/table/Table" {
|
|
|
4452
4482
|
/**
|
|
4453
4483
|
* The function to be called when the event occurs
|
|
4454
4484
|
*/
|
|
4455
|
-
fnFunction: (
|
|
4485
|
+
fnFunction: (
|
|
4486
|
+
p1: Event<$TableBeforeOpenContextMenuEventParameters>
|
|
4487
|
+
) => void,
|
|
4456
4488
|
/**
|
|
4457
4489
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4458
4490
|
*/
|
|
@@ -4480,7 +4512,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4480
4512
|
/**
|
|
4481
4513
|
* The function to be called when the event occurs
|
|
4482
4514
|
*/
|
|
4483
|
-
fnFunction: (p1: Event) => void,
|
|
4515
|
+
fnFunction: (p1: Event<$TableBusyStateChangedEventParameters>) => void,
|
|
4484
4516
|
/**
|
|
4485
4517
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4486
4518
|
*/
|
|
@@ -4503,7 +4535,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4503
4535
|
/**
|
|
4504
4536
|
* The function to be called when the event occurs
|
|
4505
4537
|
*/
|
|
4506
|
-
fnFunction: (p1: Event) => void,
|
|
4538
|
+
fnFunction: (p1: Event<$TableBusyStateChangedEventParameters>) => void,
|
|
4507
4539
|
/**
|
|
4508
4540
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4509
4541
|
*/
|
|
@@ -4530,7 +4562,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4530
4562
|
/**
|
|
4531
4563
|
* The function to be called when the event occurs
|
|
4532
4564
|
*/
|
|
4533
|
-
fnFunction: (p1: Event) => void,
|
|
4565
|
+
fnFunction: (p1: Event<$TableCellClickEventParameters>) => void,
|
|
4534
4566
|
/**
|
|
4535
4567
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4536
4568
|
*/
|
|
@@ -4552,7 +4584,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4552
4584
|
/**
|
|
4553
4585
|
* The function to be called when the event occurs
|
|
4554
4586
|
*/
|
|
4555
|
-
fnFunction: (p1: Event) => void,
|
|
4587
|
+
fnFunction: (p1: Event<$TableCellClickEventParameters>) => void,
|
|
4556
4588
|
/**
|
|
4557
4589
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4558
4590
|
*/
|
|
@@ -4581,7 +4613,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4581
4613
|
/**
|
|
4582
4614
|
* The function to be called when the event occurs
|
|
4583
4615
|
*/
|
|
4584
|
-
fnFunction: (p1: Event) => void,
|
|
4616
|
+
fnFunction: (p1: Event<$TableCellContextmenuEventParameters>) => void,
|
|
4585
4617
|
/**
|
|
4586
4618
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4587
4619
|
*/
|
|
@@ -4605,7 +4637,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4605
4637
|
/**
|
|
4606
4638
|
* The function to be called when the event occurs
|
|
4607
4639
|
*/
|
|
4608
|
-
fnFunction: (p1: Event) => void,
|
|
4640
|
+
fnFunction: (p1: Event<$TableCellContextmenuEventParameters>) => void,
|
|
4609
4641
|
/**
|
|
4610
4642
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4611
4643
|
*/
|
|
@@ -4632,7 +4664,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4632
4664
|
/**
|
|
4633
4665
|
* The function to be called when the event occurs
|
|
4634
4666
|
*/
|
|
4635
|
-
fnFunction: (p1: Event) => void,
|
|
4667
|
+
fnFunction: (p1: Event<$TableColumnFreezeEventParameters>) => void,
|
|
4636
4668
|
/**
|
|
4637
4669
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4638
4670
|
*/
|
|
@@ -4654,7 +4686,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4654
4686
|
/**
|
|
4655
4687
|
* The function to be called when the event occurs
|
|
4656
4688
|
*/
|
|
4657
|
-
fnFunction: (p1: Event) => void,
|
|
4689
|
+
fnFunction: (p1: Event<$TableColumnFreezeEventParameters>) => void,
|
|
4658
4690
|
/**
|
|
4659
4691
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4660
4692
|
*/
|
|
@@ -4679,7 +4711,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4679
4711
|
/**
|
|
4680
4712
|
* The function to be called when the event occurs
|
|
4681
4713
|
*/
|
|
4682
|
-
fnFunction: (p1: Event) => void,
|
|
4714
|
+
fnFunction: (p1: Event<$TableColumnMoveEventParameters>) => void,
|
|
4683
4715
|
/**
|
|
4684
4716
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4685
4717
|
*/
|
|
@@ -4699,7 +4731,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4699
4731
|
/**
|
|
4700
4732
|
* The function to be called when the event occurs
|
|
4701
4733
|
*/
|
|
4702
|
-
fnFunction: (p1: Event) => void,
|
|
4734
|
+
fnFunction: (p1: Event<$TableColumnMoveEventParameters>) => void,
|
|
4703
4735
|
/**
|
|
4704
4736
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4705
4737
|
*/
|
|
@@ -4724,7 +4756,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4724
4756
|
/**
|
|
4725
4757
|
* The function to be called when the event occurs
|
|
4726
4758
|
*/
|
|
4727
|
-
fnFunction: (p1: Event) => void,
|
|
4759
|
+
fnFunction: (p1: Event<$TableColumnResizeEventParameters>) => void,
|
|
4728
4760
|
/**
|
|
4729
4761
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4730
4762
|
*/
|
|
@@ -4744,7 +4776,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4744
4776
|
/**
|
|
4745
4777
|
* The function to be called when the event occurs
|
|
4746
4778
|
*/
|
|
4747
|
-
fnFunction: (p1: Event) => void,
|
|
4779
|
+
fnFunction: (p1: Event<$TableColumnResizeEventParameters>) => void,
|
|
4748
4780
|
/**
|
|
4749
4781
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4750
4782
|
*/
|
|
@@ -4769,7 +4801,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4769
4801
|
/**
|
|
4770
4802
|
* The function to be called when the event occurs
|
|
4771
4803
|
*/
|
|
4772
|
-
fnFunction: (p1: Event) => void,
|
|
4804
|
+
fnFunction: (p1: Event<$TableColumnSelectEventParameters>) => void,
|
|
4773
4805
|
/**
|
|
4774
4806
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4775
4807
|
*/
|
|
@@ -4789,7 +4821,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4789
4821
|
/**
|
|
4790
4822
|
* The function to be called when the event occurs
|
|
4791
4823
|
*/
|
|
4792
|
-
fnFunction: (p1: Event) => void,
|
|
4824
|
+
fnFunction: (p1: Event<$TableColumnSelectEventParameters>) => void,
|
|
4793
4825
|
/**
|
|
4794
4826
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4795
4827
|
*/
|
|
@@ -4815,7 +4847,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4815
4847
|
/**
|
|
4816
4848
|
* The function to be called when the event occurs
|
|
4817
4849
|
*/
|
|
4818
|
-
fnFunction: (p1: Event) => void,
|
|
4850
|
+
fnFunction: (p1: Event<$TableColumnVisibilityEventParameters>) => void,
|
|
4819
4851
|
/**
|
|
4820
4852
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4821
4853
|
*/
|
|
@@ -4836,7 +4868,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4836
4868
|
/**
|
|
4837
4869
|
* The function to be called when the event occurs
|
|
4838
4870
|
*/
|
|
4839
|
-
fnFunction: (p1: Event) => void,
|
|
4871
|
+
fnFunction: (p1: Event<$TableColumnVisibilityEventParameters>) => void,
|
|
4840
4872
|
/**
|
|
4841
4873
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4842
4874
|
*/
|
|
@@ -4864,7 +4896,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4864
4896
|
/**
|
|
4865
4897
|
* The function to be called when the event occurs
|
|
4866
4898
|
*/
|
|
4867
|
-
fnFunction: (p1: Event) => void,
|
|
4899
|
+
fnFunction: (p1: Event<$TableCustomFilterEventParameters>) => void,
|
|
4868
4900
|
/**
|
|
4869
4901
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4870
4902
|
*/
|
|
@@ -4887,7 +4919,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4887
4919
|
/**
|
|
4888
4920
|
* The function to be called when the event occurs
|
|
4889
4921
|
*/
|
|
4890
|
-
fnFunction: (p1: Event) => void,
|
|
4922
|
+
fnFunction: (p1: Event<$TableCustomFilterEventParameters>) => void,
|
|
4891
4923
|
/**
|
|
4892
4924
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4893
4925
|
*/
|
|
@@ -4899,7 +4931,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4899
4931
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
4900
4932
|
* otherwise it will be bound to this `sap.ui.table.Table` itself.
|
|
4901
4933
|
*
|
|
4902
|
-
* 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 }
|
|
4903
4935
|
* call or user interaction with the column header.
|
|
4904
4936
|
*
|
|
4905
4937
|
* Filters that are directly applied to the table binding will not fire this event.
|
|
@@ -4915,7 +4947,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4915
4947
|
/**
|
|
4916
4948
|
* The function to be called when the event occurs
|
|
4917
4949
|
*/
|
|
4918
|
-
fnFunction: (p1: Event) => void,
|
|
4950
|
+
fnFunction: (p1: Event<$TableFilterEventParameters>) => void,
|
|
4919
4951
|
/**
|
|
4920
4952
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4921
4953
|
*/
|
|
@@ -4927,7 +4959,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4927
4959
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
4928
4960
|
* otherwise it will be bound to this `sap.ui.table.Table` itself.
|
|
4929
4961
|
*
|
|
4930
|
-
* 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 }
|
|
4931
4963
|
* call or user interaction with the column header.
|
|
4932
4964
|
*
|
|
4933
4965
|
* Filters that are directly applied to the table binding will not fire this event.
|
|
@@ -4938,7 +4970,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4938
4970
|
/**
|
|
4939
4971
|
* The function to be called when the event occurs
|
|
4940
4972
|
*/
|
|
4941
|
-
fnFunction: (p1: Event) => void,
|
|
4973
|
+
fnFunction: (p1: Event<$TableFilterEventParameters>) => void,
|
|
4942
4974
|
/**
|
|
4943
4975
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4944
4976
|
*/
|
|
@@ -4947,7 +4979,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4947
4979
|
/**
|
|
4948
4980
|
* @SINCE 1.37.0
|
|
4949
4981
|
*
|
|
4950
|
-
* Attaches event handler `fnFunction` to the {@link #event:firstVisibleRowChanged firstVisibleRowChanged}
|
|
4982
|
+
* Attaches event handler `fnFunction` to the {@link #event:firstVisibleRowChanged firstVisibleRowChanged }
|
|
4951
4983
|
* event of this `sap.ui.table.Table`.
|
|
4952
4984
|
*
|
|
4953
4985
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -4967,7 +4999,9 @@ declare module "sap/ui/table/Table" {
|
|
|
4967
4999
|
/**
|
|
4968
5000
|
* The function to be called when the event occurs
|
|
4969
5001
|
*/
|
|
4970
|
-
fnFunction: (
|
|
5002
|
+
fnFunction: (
|
|
5003
|
+
p1: Event<$TableFirstVisibleRowChangedEventParameters>
|
|
5004
|
+
) => void,
|
|
4971
5005
|
/**
|
|
4972
5006
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4973
5007
|
*/
|
|
@@ -4976,7 +5010,7 @@ declare module "sap/ui/table/Table" {
|
|
|
4976
5010
|
/**
|
|
4977
5011
|
* @SINCE 1.37.0
|
|
4978
5012
|
*
|
|
4979
|
-
* Attaches event handler `fnFunction` to the {@link #event:firstVisibleRowChanged firstVisibleRowChanged}
|
|
5013
|
+
* Attaches event handler `fnFunction` to the {@link #event:firstVisibleRowChanged firstVisibleRowChanged }
|
|
4980
5014
|
* event of this `sap.ui.table.Table`.
|
|
4981
5015
|
*
|
|
4982
5016
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -4991,7 +5025,9 @@ declare module "sap/ui/table/Table" {
|
|
|
4991
5025
|
/**
|
|
4992
5026
|
* The function to be called when the event occurs
|
|
4993
5027
|
*/
|
|
4994
|
-
fnFunction: (
|
|
5028
|
+
fnFunction: (
|
|
5029
|
+
p1: Event<$TableFirstVisibleRowChangedEventParameters>
|
|
5030
|
+
) => void,
|
|
4995
5031
|
/**
|
|
4996
5032
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
4997
5033
|
*/
|
|
@@ -5016,7 +5052,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5016
5052
|
/**
|
|
5017
5053
|
* The function to be called when the event occurs
|
|
5018
5054
|
*/
|
|
5019
|
-
fnFunction: (p1: Event) => void,
|
|
5055
|
+
fnFunction: (p1: Event<$TableGroupEventParameters>) => void,
|
|
5020
5056
|
/**
|
|
5021
5057
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5022
5058
|
*/
|
|
@@ -5036,7 +5072,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5036
5072
|
/**
|
|
5037
5073
|
* The function to be called when the event occurs
|
|
5038
5074
|
*/
|
|
5039
|
-
fnFunction: (p1: Event) => void,
|
|
5075
|
+
fnFunction: (p1: Event<$TableGroupEventParameters>) => void,
|
|
5040
5076
|
/**
|
|
5041
5077
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5042
5078
|
*/
|
|
@@ -5064,7 +5100,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5064
5100
|
/**
|
|
5065
5101
|
* The function to be called when the event occurs
|
|
5066
5102
|
*/
|
|
5067
|
-
fnFunction: (p1: Event) => void,
|
|
5103
|
+
fnFunction: (p1: Event<$TablePasteEventParameters>) => void,
|
|
5068
5104
|
/**
|
|
5069
5105
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5070
5106
|
*/
|
|
@@ -5087,7 +5123,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5087
5123
|
/**
|
|
5088
5124
|
* The function to be called when the event occurs
|
|
5089
5125
|
*/
|
|
5090
|
-
fnFunction: (p1: Event) => void,
|
|
5126
|
+
fnFunction: (p1: Event<$TablePasteEventParameters>) => void,
|
|
5091
5127
|
/**
|
|
5092
5128
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5093
5129
|
*/
|
|
@@ -5116,7 +5152,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5116
5152
|
/**
|
|
5117
5153
|
* The function to be called when the event occurs
|
|
5118
5154
|
*/
|
|
5119
|
-
fnFunction: (p1: Event) => void,
|
|
5155
|
+
fnFunction: (p1: Event<$TableRowSelectionChangeEventParameters>) => void,
|
|
5120
5156
|
/**
|
|
5121
5157
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5122
5158
|
*/
|
|
@@ -5140,7 +5176,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5140
5176
|
/**
|
|
5141
5177
|
* The function to be called when the event occurs
|
|
5142
5178
|
*/
|
|
5143
|
-
fnFunction: (p1: Event) => void,
|
|
5179
|
+
fnFunction: (p1: Event<$TableRowSelectionChangeEventParameters>) => void,
|
|
5144
5180
|
/**
|
|
5145
5181
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5146
5182
|
*/
|
|
@@ -5207,7 +5243,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5207
5243
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
5208
5244
|
* otherwise it will be bound to this `sap.ui.table.Table` itself.
|
|
5209
5245
|
*
|
|
5210
|
-
* 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 }
|
|
5211
5247
|
* call or user interaction with the column header.
|
|
5212
5248
|
*
|
|
5213
5249
|
* Sorters that are directly applied to the table binding will not fire this event.
|
|
@@ -5223,7 +5259,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5223
5259
|
/**
|
|
5224
5260
|
* The function to be called when the event occurs
|
|
5225
5261
|
*/
|
|
5226
|
-
fnFunction: (p1: Event) => void,
|
|
5262
|
+
fnFunction: (p1: Event<$TableSortEventParameters>) => void,
|
|
5227
5263
|
/**
|
|
5228
5264
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5229
5265
|
*/
|
|
@@ -5235,7 +5271,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5235
5271
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
5236
5272
|
* otherwise it will be bound to this `sap.ui.table.Table` itself.
|
|
5237
5273
|
*
|
|
5238
|
-
* 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 }
|
|
5239
5275
|
* call or user interaction with the column header.
|
|
5240
5276
|
*
|
|
5241
5277
|
* Sorters that are directly applied to the table binding will not fire this event.
|
|
@@ -5246,7 +5282,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5246
5282
|
/**
|
|
5247
5283
|
* The function to be called when the event occurs
|
|
5248
5284
|
*/
|
|
5249
|
-
fnFunction: (p1: Event) => void,
|
|
5285
|
+
fnFunction: (p1: Event<$TableSortEventParameters>) => void,
|
|
5250
5286
|
/**
|
|
5251
5287
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.Table` itself
|
|
5252
5288
|
*/
|
|
@@ -5375,7 +5411,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5375
5411
|
/**
|
|
5376
5412
|
* @SINCE 1.54
|
|
5377
5413
|
*
|
|
5378
|
-
* Detaches event handler `fnFunction` from the {@link #event:beforeOpenContextMenu beforeOpenContextMenu}
|
|
5414
|
+
* Detaches event handler `fnFunction` from the {@link #event:beforeOpenContextMenu beforeOpenContextMenu }
|
|
5379
5415
|
* event of this `sap.ui.table.Table`.
|
|
5380
5416
|
*
|
|
5381
5417
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -5386,7 +5422,9 @@ declare module "sap/ui/table/Table" {
|
|
|
5386
5422
|
/**
|
|
5387
5423
|
* The function to be called, when the event occurs
|
|
5388
5424
|
*/
|
|
5389
|
-
fnFunction: (
|
|
5425
|
+
fnFunction: (
|
|
5426
|
+
p1: Event<$TableBeforeOpenContextMenuEventParameters>
|
|
5427
|
+
) => void,
|
|
5390
5428
|
/**
|
|
5391
5429
|
* Context object on which the given function had to be called
|
|
5392
5430
|
*/
|
|
@@ -5406,7 +5444,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5406
5444
|
/**
|
|
5407
5445
|
* The function to be called, when the event occurs
|
|
5408
5446
|
*/
|
|
5409
|
-
fnFunction: (p1: Event) => void,
|
|
5447
|
+
fnFunction: (p1: Event<$TableBusyStateChangedEventParameters>) => void,
|
|
5410
5448
|
/**
|
|
5411
5449
|
* Context object on which the given function had to be called
|
|
5412
5450
|
*/
|
|
@@ -5425,7 +5463,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5425
5463
|
/**
|
|
5426
5464
|
* The function to be called, when the event occurs
|
|
5427
5465
|
*/
|
|
5428
|
-
fnFunction: (p1: Event) => void,
|
|
5466
|
+
fnFunction: (p1: Event<$TableCellClickEventParameters>) => void,
|
|
5429
5467
|
/**
|
|
5430
5468
|
* Context object on which the given function had to be called
|
|
5431
5469
|
*/
|
|
@@ -5446,7 +5484,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5446
5484
|
/**
|
|
5447
5485
|
* The function to be called, when the event occurs
|
|
5448
5486
|
*/
|
|
5449
|
-
fnFunction: (p1: Event) => void,
|
|
5487
|
+
fnFunction: (p1: Event<$TableCellContextmenuEventParameters>) => void,
|
|
5450
5488
|
/**
|
|
5451
5489
|
* Context object on which the given function had to be called
|
|
5452
5490
|
*/
|
|
@@ -5465,7 +5503,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5465
5503
|
/**
|
|
5466
5504
|
* The function to be called, when the event occurs
|
|
5467
5505
|
*/
|
|
5468
|
-
fnFunction: (p1: Event) => void,
|
|
5506
|
+
fnFunction: (p1: Event<$TableColumnFreezeEventParameters>) => void,
|
|
5469
5507
|
/**
|
|
5470
5508
|
* Context object on which the given function had to be called
|
|
5471
5509
|
*/
|
|
@@ -5482,7 +5520,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5482
5520
|
/**
|
|
5483
5521
|
* The function to be called, when the event occurs
|
|
5484
5522
|
*/
|
|
5485
|
-
fnFunction: (p1: Event) => void,
|
|
5523
|
+
fnFunction: (p1: Event<$TableColumnMoveEventParameters>) => void,
|
|
5486
5524
|
/**
|
|
5487
5525
|
* Context object on which the given function had to be called
|
|
5488
5526
|
*/
|
|
@@ -5499,7 +5537,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5499
5537
|
/**
|
|
5500
5538
|
* The function to be called, when the event occurs
|
|
5501
5539
|
*/
|
|
5502
|
-
fnFunction: (p1: Event) => void,
|
|
5540
|
+
fnFunction: (p1: Event<$TableColumnResizeEventParameters>) => void,
|
|
5503
5541
|
/**
|
|
5504
5542
|
* Context object on which the given function had to be called
|
|
5505
5543
|
*/
|
|
@@ -5516,7 +5554,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5516
5554
|
/**
|
|
5517
5555
|
* The function to be called, when the event occurs
|
|
5518
5556
|
*/
|
|
5519
|
-
fnFunction: (p1: Event) => void,
|
|
5557
|
+
fnFunction: (p1: Event<$TableColumnSelectEventParameters>) => void,
|
|
5520
5558
|
/**
|
|
5521
5559
|
* Context object on which the given function had to be called
|
|
5522
5560
|
*/
|
|
@@ -5534,7 +5572,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5534
5572
|
/**
|
|
5535
5573
|
* The function to be called, when the event occurs
|
|
5536
5574
|
*/
|
|
5537
|
-
fnFunction: (p1: Event) => void,
|
|
5575
|
+
fnFunction: (p1: Event<$TableColumnVisibilityEventParameters>) => void,
|
|
5538
5576
|
/**
|
|
5539
5577
|
* Context object on which the given function had to be called
|
|
5540
5578
|
*/
|
|
@@ -5553,7 +5591,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5553
5591
|
/**
|
|
5554
5592
|
* The function to be called, when the event occurs
|
|
5555
5593
|
*/
|
|
5556
|
-
fnFunction: (p1: Event) => void,
|
|
5594
|
+
fnFunction: (p1: Event<$TableCustomFilterEventParameters>) => void,
|
|
5557
5595
|
/**
|
|
5558
5596
|
* Context object on which the given function had to be called
|
|
5559
5597
|
*/
|
|
@@ -5570,7 +5608,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5570
5608
|
/**
|
|
5571
5609
|
* The function to be called, when the event occurs
|
|
5572
5610
|
*/
|
|
5573
|
-
fnFunction: (p1: Event) => void,
|
|
5611
|
+
fnFunction: (p1: Event<$TableFilterEventParameters>) => void,
|
|
5574
5612
|
/**
|
|
5575
5613
|
* Context object on which the given function had to be called
|
|
5576
5614
|
*/
|
|
@@ -5579,7 +5617,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5579
5617
|
/**
|
|
5580
5618
|
* @SINCE 1.37.0
|
|
5581
5619
|
*
|
|
5582
|
-
* Detaches event handler `fnFunction` from the {@link #event:firstVisibleRowChanged firstVisibleRowChanged}
|
|
5620
|
+
* Detaches event handler `fnFunction` from the {@link #event:firstVisibleRowChanged firstVisibleRowChanged }
|
|
5583
5621
|
* event of this `sap.ui.table.Table`.
|
|
5584
5622
|
*
|
|
5585
5623
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -5590,7 +5628,9 @@ declare module "sap/ui/table/Table" {
|
|
|
5590
5628
|
/**
|
|
5591
5629
|
* The function to be called, when the event occurs
|
|
5592
5630
|
*/
|
|
5593
|
-
fnFunction: (
|
|
5631
|
+
fnFunction: (
|
|
5632
|
+
p1: Event<$TableFirstVisibleRowChangedEventParameters>
|
|
5633
|
+
) => void,
|
|
5594
5634
|
/**
|
|
5595
5635
|
* Context object on which the given function had to be called
|
|
5596
5636
|
*/
|
|
@@ -5607,7 +5647,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5607
5647
|
/**
|
|
5608
5648
|
* The function to be called, when the event occurs
|
|
5609
5649
|
*/
|
|
5610
|
-
fnFunction: (p1: Event) => void,
|
|
5650
|
+
fnFunction: (p1: Event<$TableGroupEventParameters>) => void,
|
|
5611
5651
|
/**
|
|
5612
5652
|
* Context object on which the given function had to be called
|
|
5613
5653
|
*/
|
|
@@ -5626,7 +5666,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5626
5666
|
/**
|
|
5627
5667
|
* The function to be called, when the event occurs
|
|
5628
5668
|
*/
|
|
5629
|
-
fnFunction: (p1: Event) => void,
|
|
5669
|
+
fnFunction: (p1: Event<$TablePasteEventParameters>) => void,
|
|
5630
5670
|
/**
|
|
5631
5671
|
* Context object on which the given function had to be called
|
|
5632
5672
|
*/
|
|
@@ -5644,7 +5684,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5644
5684
|
/**
|
|
5645
5685
|
* The function to be called, when the event occurs
|
|
5646
5686
|
*/
|
|
5647
|
-
fnFunction: (p1: Event) => void,
|
|
5687
|
+
fnFunction: (p1: Event<$TableRowSelectionChangeEventParameters>) => void,
|
|
5648
5688
|
/**
|
|
5649
5689
|
* Context object on which the given function had to be called
|
|
5650
5690
|
*/
|
|
@@ -5680,7 +5720,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5680
5720
|
/**
|
|
5681
5721
|
* The function to be called, when the event occurs
|
|
5682
5722
|
*/
|
|
5683
|
-
fnFunction: (p1: Event) => void,
|
|
5723
|
+
fnFunction: (p1: Event<$TableSortEventParameters>) => void,
|
|
5684
5724
|
/**
|
|
5685
5725
|
* Context object on which the given function had to be called
|
|
5686
5726
|
*/
|
|
@@ -5734,20 +5774,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5734
5774
|
/**
|
|
5735
5775
|
* Parameters to pass along with the event
|
|
5736
5776
|
*/
|
|
5737
|
-
mParameters?:
|
|
5738
|
-
/**
|
|
5739
|
-
* Row index where the context menu opens.
|
|
5740
|
-
*/
|
|
5741
|
-
rowIndex?: int;
|
|
5742
|
-
/**
|
|
5743
|
-
* Column index where the context menu opens. This is the index of the column in the `columns` aggregation.
|
|
5744
|
-
*/
|
|
5745
|
-
columnIndex?: int;
|
|
5746
|
-
/**
|
|
5747
|
-
* Context menu
|
|
5748
|
-
*/
|
|
5749
|
-
contextMenu?: IContextMenu;
|
|
5750
|
-
}
|
|
5777
|
+
mParameters?: $TableBeforeOpenContextMenuEventParameters
|
|
5751
5778
|
): boolean;
|
|
5752
5779
|
/**
|
|
5753
5780
|
* @SINCE 1.37.0
|
|
@@ -5761,12 +5788,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5761
5788
|
/**
|
|
5762
5789
|
* Parameters to pass along with the event
|
|
5763
5790
|
*/
|
|
5764
|
-
mParameters?:
|
|
5765
|
-
/**
|
|
5766
|
-
* busy state
|
|
5767
|
-
*/
|
|
5768
|
-
busy?: boolean;
|
|
5769
|
-
}
|
|
5791
|
+
mParameters?: $TableBusyStateChangedEventParameters
|
|
5770
5792
|
): this;
|
|
5771
5793
|
/**
|
|
5772
5794
|
* @SINCE 1.21.0
|
|
@@ -5783,33 +5805,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5783
5805
|
/**
|
|
5784
5806
|
* Parameters to pass along with the event
|
|
5785
5807
|
*/
|
|
5786
|
-
mParameters?:
|
|
5787
|
-
/**
|
|
5788
|
-
* The control of the cell.
|
|
5789
|
-
*/
|
|
5790
|
-
cellControl?: Control;
|
|
5791
|
-
/**
|
|
5792
|
-
* DOM reference of the clicked cell. Can be used to position the context menu.
|
|
5793
|
-
*/
|
|
5794
|
-
cellDomRef?: Object;
|
|
5795
|
-
/**
|
|
5796
|
-
* Row index of the selected cell.
|
|
5797
|
-
*/
|
|
5798
|
-
rowIndex?: int;
|
|
5799
|
-
/**
|
|
5800
|
-
* Column index of the selected cell. This is the index of visible columns and might differ from the index
|
|
5801
|
-
* maintained in the column aggregation.
|
|
5802
|
-
*/
|
|
5803
|
-
columnIndex?: int;
|
|
5804
|
-
/**
|
|
5805
|
-
* Column ID of the selected cell.
|
|
5806
|
-
*/
|
|
5807
|
-
columnId?: string;
|
|
5808
|
-
/**
|
|
5809
|
-
* Row binding context of the selected cell.
|
|
5810
|
-
*/
|
|
5811
|
-
rowBindingContext?: Context;
|
|
5812
|
-
}
|
|
5808
|
+
mParameters?: $TableCellClickEventParameters
|
|
5813
5809
|
): boolean;
|
|
5814
5810
|
/**
|
|
5815
5811
|
* @SINCE 1.21.0
|
|
@@ -5827,33 +5823,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5827
5823
|
/**
|
|
5828
5824
|
* Parameters to pass along with the event
|
|
5829
5825
|
*/
|
|
5830
|
-
mParameters?:
|
|
5831
|
-
/**
|
|
5832
|
-
* The control of the cell.
|
|
5833
|
-
*/
|
|
5834
|
-
cellControl?: Control;
|
|
5835
|
-
/**
|
|
5836
|
-
* DOM reference of the clicked cell. Can be used to position the context menu.
|
|
5837
|
-
*/
|
|
5838
|
-
cellDomRef?: Object;
|
|
5839
|
-
/**
|
|
5840
|
-
* Row index of the selected cell.
|
|
5841
|
-
*/
|
|
5842
|
-
rowIndex?: int;
|
|
5843
|
-
/**
|
|
5844
|
-
* Column index of the selected cell. This is the index of visible columns and might differ from the index
|
|
5845
|
-
* maintained in the column aggregation.
|
|
5846
|
-
*/
|
|
5847
|
-
columnIndex?: int;
|
|
5848
|
-
/**
|
|
5849
|
-
* Column ID of the selected cell.
|
|
5850
|
-
*/
|
|
5851
|
-
columnId?: string;
|
|
5852
|
-
/**
|
|
5853
|
-
* Row binding context of the selected cell.
|
|
5854
|
-
*/
|
|
5855
|
-
rowBindingContext?: Context;
|
|
5856
|
-
}
|
|
5826
|
+
mParameters?: $TableCellContextmenuEventParameters
|
|
5857
5827
|
): boolean;
|
|
5858
5828
|
/**
|
|
5859
5829
|
* @SINCE 1.21.0
|
|
@@ -5870,12 +5840,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5870
5840
|
/**
|
|
5871
5841
|
* Parameters to pass along with the event
|
|
5872
5842
|
*/
|
|
5873
|
-
mParameters?:
|
|
5874
|
-
/**
|
|
5875
|
-
* reference to the column to freeze
|
|
5876
|
-
*/
|
|
5877
|
-
column?: Column;
|
|
5878
|
-
}
|
|
5843
|
+
mParameters?: $TableColumnFreezeEventParameters
|
|
5879
5844
|
): boolean;
|
|
5880
5845
|
/**
|
|
5881
5846
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5891,16 +5856,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5891
5856
|
/**
|
|
5892
5857
|
* Parameters to pass along with the event
|
|
5893
5858
|
*/
|
|
5894
|
-
mParameters?:
|
|
5895
|
-
/**
|
|
5896
|
-
* moved column.
|
|
5897
|
-
*/
|
|
5898
|
-
column?: Column;
|
|
5899
|
-
/**
|
|
5900
|
-
* new position of the column.
|
|
5901
|
-
*/
|
|
5902
|
-
newPos?: int;
|
|
5903
|
-
}
|
|
5859
|
+
mParameters?: $TableColumnMoveEventParameters
|
|
5904
5860
|
): boolean;
|
|
5905
5861
|
/**
|
|
5906
5862
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5916,16 +5872,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5916
5872
|
/**
|
|
5917
5873
|
* Parameters to pass along with the event
|
|
5918
5874
|
*/
|
|
5919
|
-
mParameters?:
|
|
5920
|
-
/**
|
|
5921
|
-
* resized column.
|
|
5922
|
-
*/
|
|
5923
|
-
column?: Column;
|
|
5924
|
-
/**
|
|
5925
|
-
* new width of the table column as CSS Size definition.
|
|
5926
|
-
*/
|
|
5927
|
-
width?: CSSSize;
|
|
5928
|
-
}
|
|
5875
|
+
mParameters?: $TableColumnResizeEventParameters
|
|
5929
5876
|
): boolean;
|
|
5930
5877
|
/**
|
|
5931
5878
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5941,12 +5888,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5941
5888
|
/**
|
|
5942
5889
|
* Parameters to pass along with the event
|
|
5943
5890
|
*/
|
|
5944
|
-
mParameters?:
|
|
5945
|
-
/**
|
|
5946
|
-
* reference to the selected column
|
|
5947
|
-
*/
|
|
5948
|
-
column?: Column;
|
|
5949
|
-
}
|
|
5891
|
+
mParameters?: $TableColumnSelectEventParameters
|
|
5950
5892
|
): boolean;
|
|
5951
5893
|
/**
|
|
5952
5894
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -5962,16 +5904,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5962
5904
|
/**
|
|
5963
5905
|
* Parameters to pass along with the event
|
|
5964
5906
|
*/
|
|
5965
|
-
mParameters?:
|
|
5966
|
-
/**
|
|
5967
|
-
* affected column.
|
|
5968
|
-
*/
|
|
5969
|
-
column?: Column;
|
|
5970
|
-
/**
|
|
5971
|
-
* new value of the visible property.
|
|
5972
|
-
*/
|
|
5973
|
-
newVisible?: boolean;
|
|
5974
|
-
}
|
|
5907
|
+
mParameters?: $TableColumnVisibilityEventParameters
|
|
5975
5908
|
): boolean;
|
|
5976
5909
|
/**
|
|
5977
5910
|
* @SINCE 1.23.0
|
|
@@ -5985,16 +5918,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5985
5918
|
/**
|
|
5986
5919
|
* Parameters to pass along with the event
|
|
5987
5920
|
*/
|
|
5988
|
-
mParameters?:
|
|
5989
|
-
/**
|
|
5990
|
-
* The column instance on which the custom filter button was pressed.
|
|
5991
|
-
*/
|
|
5992
|
-
column?: Column;
|
|
5993
|
-
/**
|
|
5994
|
-
* Filter value.
|
|
5995
|
-
*/
|
|
5996
|
-
value?: string;
|
|
5997
|
-
}
|
|
5921
|
+
mParameters?: $TableCustomFilterEventParameters
|
|
5998
5922
|
): this;
|
|
5999
5923
|
/**
|
|
6000
5924
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6010,16 +5934,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6010
5934
|
/**
|
|
6011
5935
|
* Parameters to pass along with the event
|
|
6012
5936
|
*/
|
|
6013
|
-
mParameters?:
|
|
6014
|
-
/**
|
|
6015
|
-
* filtered column.
|
|
6016
|
-
*/
|
|
6017
|
-
column?: Column;
|
|
6018
|
-
/**
|
|
6019
|
-
* filter value.
|
|
6020
|
-
*/
|
|
6021
|
-
value?: string;
|
|
6022
|
-
}
|
|
5937
|
+
mParameters?: $TableFilterEventParameters
|
|
6023
5938
|
): boolean;
|
|
6024
5939
|
/**
|
|
6025
5940
|
* @SINCE 1.37.0
|
|
@@ -6033,12 +5948,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6033
5948
|
/**
|
|
6034
5949
|
* Parameters to pass along with the event
|
|
6035
5950
|
*/
|
|
6036
|
-
mParameters?:
|
|
6037
|
-
/**
|
|
6038
|
-
* First visible row
|
|
6039
|
-
*/
|
|
6040
|
-
firstVisibleRow?: int;
|
|
6041
|
-
}
|
|
5951
|
+
mParameters?: $TableFirstVisibleRowChangedEventParameters
|
|
6042
5952
|
): this;
|
|
6043
5953
|
/**
|
|
6044
5954
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6054,12 +5964,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6054
5964
|
/**
|
|
6055
5965
|
* Parameters to pass along with the event
|
|
6056
5966
|
*/
|
|
6057
|
-
mParameters?:
|
|
6058
|
-
/**
|
|
6059
|
-
* grouped column.
|
|
6060
|
-
*/
|
|
6061
|
-
column?: Column;
|
|
6062
|
-
}
|
|
5967
|
+
mParameters?: $TableGroupEventParameters
|
|
6063
5968
|
): boolean;
|
|
6064
5969
|
/**
|
|
6065
5970
|
* @SINCE 1.60
|
|
@@ -6076,13 +5981,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6076
5981
|
/**
|
|
6077
5982
|
* Parameters to pass along with the event
|
|
6078
5983
|
*/
|
|
6079
|
-
mParameters?:
|
|
6080
|
-
/**
|
|
6081
|
-
* 2D array of strings with data from the clipboard. The first dimension represents the rows, and the second
|
|
6082
|
-
* dimension represents the cells of the tabular data.
|
|
6083
|
-
*/
|
|
6084
|
-
data?: string[][];
|
|
6085
|
-
}
|
|
5984
|
+
mParameters?: $TablePasteEventParameters
|
|
6086
5985
|
): boolean;
|
|
6087
5986
|
/**
|
|
6088
5987
|
* @PROTECTED - DO NOT USE IN APPLICATIONS (only for related classes in the framework)
|
|
@@ -6095,29 +5994,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6095
5994
|
/**
|
|
6096
5995
|
* Parameters to pass along with the event
|
|
6097
5996
|
*/
|
|
6098
|
-
mParameters?:
|
|
6099
|
-
/**
|
|
6100
|
-
* row index which has been clicked so that the selection has been changed (either selected or deselected)
|
|
6101
|
-
*/
|
|
6102
|
-
rowIndex?: int;
|
|
6103
|
-
/**
|
|
6104
|
-
* binding context of the row which has been clicked so that selection has been changed
|
|
6105
|
-
*/
|
|
6106
|
-
rowContext?: Context;
|
|
6107
|
-
/**
|
|
6108
|
-
* array of row indices which selection has been changed (either selected or deselected)
|
|
6109
|
-
*/
|
|
6110
|
-
rowIndices?: int[];
|
|
6111
|
-
/**
|
|
6112
|
-
* indicator if "select all" function is used to select rows
|
|
6113
|
-
*/
|
|
6114
|
-
selectAll?: boolean;
|
|
6115
|
-
/**
|
|
6116
|
-
* indicates that the event was fired due to an explicit user interaction like clicking the row header or
|
|
6117
|
-
* using the keyboard (SPACE or ENTER) to select a row or a range of rows.
|
|
6118
|
-
*/
|
|
6119
|
-
userInteraction?: boolean;
|
|
6120
|
-
}
|
|
5997
|
+
mParameters?: $TableRowSelectionChangeEventParameters
|
|
6121
5998
|
): this;
|
|
6122
5999
|
/**
|
|
6123
6000
|
* @SINCE 1.86
|
|
@@ -6147,20 +6024,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6147
6024
|
/**
|
|
6148
6025
|
* Parameters to pass along with the event
|
|
6149
6026
|
*/
|
|
6150
|
-
mParameters?:
|
|
6151
|
-
/**
|
|
6152
|
-
* sorted column.
|
|
6153
|
-
*/
|
|
6154
|
-
column?: Column;
|
|
6155
|
-
/**
|
|
6156
|
-
* Sort Order
|
|
6157
|
-
*/
|
|
6158
|
-
sortOrder?: SortOrder | keyof typeof SortOrder;
|
|
6159
|
-
/**
|
|
6160
|
-
* If column was added to sorter this is true. If new sort is started this is set to false
|
|
6161
|
-
*/
|
|
6162
|
-
columnAdded?: boolean;
|
|
6163
|
-
}
|
|
6027
|
+
mParameters?: $TableSortEventParameters
|
|
6164
6028
|
): boolean;
|
|
6165
6029
|
/**
|
|
6166
6030
|
* Sets the focus to the stored focus DOM reference.
|
|
@@ -6197,8 +6061,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6197
6061
|
*/
|
|
6198
6062
|
getAlternateRowColors(): boolean;
|
|
6199
6063
|
/**
|
|
6200
|
-
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
6201
|
-
* ariaLabelledBy}.
|
|
6064
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
6202
6065
|
*/
|
|
6203
6066
|
getAriaLabelledBy(): ID[];
|
|
6204
6067
|
/**
|
|
@@ -6297,6 +6160,8 @@ declare module "sap/ui/table/Table" {
|
|
|
6297
6160
|
*/
|
|
6298
6161
|
getDragDropConfig(): DragDropBase[];
|
|
6299
6162
|
/**
|
|
6163
|
+
* @deprecated (since 1.115)
|
|
6164
|
+
*
|
|
6300
6165
|
* Gets current value of property {@link #getEditable editable}.
|
|
6301
6166
|
*
|
|
6302
6167
|
* Flag whether the controls of the Table are editable or not (currently this only controls the background
|
|
@@ -6380,16 +6245,16 @@ declare module "sap/ui/table/Table" {
|
|
|
6380
6245
|
*
|
|
6381
6246
|
* The following restrictions apply:
|
|
6382
6247
|
* - Only client models are supported (e.g. {@link sap.ui.model.json.JSONModel}). Grouping does not work
|
|
6383
|
-
*
|
|
6248
|
+
* with OData models.
|
|
6384
6249
|
* - The table can only be grouped by **one** column at a time. Grouping by another column will remove
|
|
6385
|
-
*
|
|
6250
|
+
* the current grouping.
|
|
6386
6251
|
* - For the grouping to work correctly, {@link sap.ui.table.Column#getSortProperty sortProperty} must
|
|
6387
|
-
*
|
|
6252
|
+
* be set for the grouped column.
|
|
6388
6253
|
* - If grouping has been done, sorting and filtering is not possible. Any existing sorting and filtering
|
|
6389
|
-
*
|
|
6254
|
+
* rules do no longer apply. The UI is not updated accordingly (e.g. menu items, sort and filter icons).
|
|
6390
6255
|
*
|
|
6391
6256
|
* - The column, by which the table is grouped, is not visible. It will become visible again only if the
|
|
6392
|
-
*
|
|
6257
|
+
* table is grouped by another column or grouping is disabled.
|
|
6393
6258
|
*
|
|
6394
6259
|
* Default value is `false`.
|
|
6395
6260
|
*
|
|
@@ -6434,8 +6299,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6434
6299
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
6435
6300
|
* not fixed, will scroll.
|
|
6436
6301
|
*
|
|
6437
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
6438
|
-
* client model}.
|
|
6302
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
6439
6303
|
*
|
|
6440
6304
|
* Default value is `0`.
|
|
6441
6305
|
*
|
|
@@ -6450,8 +6314,8 @@ declare module "sap/ui/table/Table" {
|
|
|
6450
6314
|
* **Note**
|
|
6451
6315
|
* - Fixed columns need a defined width for the feature to work.
|
|
6452
6316
|
* - The aggregated width of all fixed columns must not exceed the table width. Otherwise the table ignores
|
|
6453
|
-
*
|
|
6454
|
-
*
|
|
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.
|
|
6455
6319
|
*
|
|
6456
6320
|
* Default value is `0`.
|
|
6457
6321
|
*
|
|
@@ -6464,8 +6328,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6464
6328
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
6465
6329
|
* fixed, will scroll.
|
|
6466
6330
|
*
|
|
6467
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
6468
|
-
* client model}.
|
|
6331
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
6469
6332
|
*
|
|
6470
6333
|
* Default value is `0`.
|
|
6471
6334
|
*
|
|
@@ -6525,7 +6388,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6525
6388
|
*
|
|
6526
6389
|
* The following restrictions apply:
|
|
6527
6390
|
* - If a selection plugin is applied to the table, the table's selection API must not be used. Instead,
|
|
6528
|
-
*
|
|
6391
|
+
* use the API of the plugin.
|
|
6529
6392
|
* - Only one MultiSelectionPlugin can be applied. No other plugins can be applied.
|
|
6530
6393
|
*/
|
|
6531
6394
|
getPlugins(): SelectionPlugin[];
|
|
@@ -6559,10 +6422,10 @@ declare module "sap/ui/table/Table" {
|
|
|
6559
6422
|
* height based on the content density configuration. The actual height can increase based on the content.
|
|
6560
6423
|
*
|
|
6561
6424
|
* In the table's body, it defines the height of the row content. The actual row height is also influenced
|
|
6562
|
-
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode
|
|
6563
|
-
*
|
|
6564
|
-
*
|
|
6565
|
-
*
|
|
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.
|
|
6566
6429
|
*
|
|
6567
6430
|
* If no value is set (includes 0), a default height is applied based on the content density configuration.
|
|
6568
6431
|
* In any `visibleRowCountMode`, the actual height can increase based on the content.
|
|
@@ -6585,14 +6448,13 @@ declare module "sap/ui/table/Table" {
|
|
|
6585
6448
|
* The cells of rows can be defined with the {@link sap.ui.table.Column#setTemplate template} aggregation
|
|
6586
6449
|
* of the columns in the {@link sap.ui.table.Table#getColumns columns} aggregation of the table. The actions
|
|
6587
6450
|
* of rows can be defined with the {@link sap.ui.table.Table#setRowActionTemplate rowActionTemplate} aggregation
|
|
6588
|
-
* of the table. Furthermore, row-specific settings can be defined with the {@link sap.ui.table.Table#setRowSettingsTemplate
|
|
6589
|
-
*
|
|
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.
|
|
6590
6453
|
*
|
|
6591
6454
|
* **Note:** During the binding of rows, the (exact) count needs to be available in the table and has to
|
|
6592
6455
|
* be requested. If the count is not requested, this may lead to unexpected behavior in the table, such
|
|
6593
6456
|
* as scrolling, accessibility, or keyboard issues. Please refer to the documentation of the used model
|
|
6594
|
-
* for information on requesting the count, for example, {@link sap.ui.model.odata.v2.ODataModel} or {@link
|
|
6595
|
-
* 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}.
|
|
6596
6458
|
*/
|
|
6597
6459
|
getRows(): Row[];
|
|
6598
6460
|
/**
|
|
@@ -6681,7 +6543,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6681
6543
|
*/
|
|
6682
6544
|
getShowOverlay(): boolean;
|
|
6683
6545
|
/**
|
|
6684
|
-
* 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 }
|
|
6685
6547
|
* method and menus. Does not reflect sorting at binding level or the columns sort visualization set with
|
|
6686
6548
|
* {@link sap.ui.table.Column#setSorted} and {@link sap.ui.table.Column#setSortOrder}.
|
|
6687
6549
|
* See:
|
|
@@ -6746,7 +6608,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6746
6608
|
* be set manually. Restrictions:
|
|
6747
6609
|
* - All rows need to have the same height.
|
|
6748
6610
|
* - The table must be rendered without siblings in its parent DOM element. The only exception is if the
|
|
6749
|
-
*
|
|
6611
|
+
* parent element is a CSS flex container, and the table is a CSS flex item allowed to grow and shrink.
|
|
6750
6612
|
*
|
|
6751
6613
|
*
|
|
6752
6614
|
* In the `"Interactive"` mode, the table has as many rows as defined in the `visibleRowCount` property
|
|
@@ -6796,8 +6658,8 @@ declare module "sap/ui/table/Table" {
|
|
|
6796
6658
|
/**
|
|
6797
6659
|
* @SINCE 1.64
|
|
6798
6660
|
*
|
|
6799
|
-
* Checks for the provided `sap.ui.table.plugins.SelectionPlugin` in the aggregation {@link #getPlugins
|
|
6800
|
-
*
|
|
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.
|
|
6801
6663
|
*
|
|
6802
6664
|
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
6803
6665
|
*/
|
|
@@ -7095,6 +6957,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7095
6957
|
oContextMenu: IContextMenu
|
|
7096
6958
|
): this;
|
|
7097
6959
|
/**
|
|
6960
|
+
* @deprecated (since 1.115)
|
|
6961
|
+
*
|
|
7098
6962
|
* Sets a new value for property {@link #getEditable editable}.
|
|
7099
6963
|
*
|
|
7100
6964
|
* Flag whether the controls of the Table are editable or not (currently this only controls the background
|
|
@@ -7220,16 +7084,16 @@ declare module "sap/ui/table/Table" {
|
|
|
7220
7084
|
*
|
|
7221
7085
|
* The following restrictions apply:
|
|
7222
7086
|
* - Only client models are supported (e.g. {@link sap.ui.model.json.JSONModel}). Grouping does not work
|
|
7223
|
-
*
|
|
7087
|
+
* with OData models.
|
|
7224
7088
|
* - The table can only be grouped by **one** column at a time. Grouping by another column will remove
|
|
7225
|
-
*
|
|
7089
|
+
* the current grouping.
|
|
7226
7090
|
* - For the grouping to work correctly, {@link sap.ui.table.Column#getSortProperty sortProperty} must
|
|
7227
|
-
*
|
|
7091
|
+
* be set for the grouped column.
|
|
7228
7092
|
* - If grouping has been done, sorting and filtering is not possible. Any existing sorting and filtering
|
|
7229
|
-
*
|
|
7093
|
+
* rules do no longer apply. The UI is not updated accordingly (e.g. menu items, sort and filter icons).
|
|
7230
7094
|
*
|
|
7231
7095
|
* - The column, by which the table is grouped, is not visible. It will become visible again only if the
|
|
7232
|
-
*
|
|
7096
|
+
* table is grouped by another column or grouping is disabled.
|
|
7233
7097
|
*
|
|
7234
7098
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7235
7099
|
*
|
|
@@ -7288,8 +7152,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7288
7152
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
7289
7153
|
* not fixed, will scroll.
|
|
7290
7154
|
*
|
|
7291
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
7292
|
-
* client model}.
|
|
7155
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7293
7156
|
*
|
|
7294
7157
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7295
7158
|
*
|
|
@@ -7311,8 +7174,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7311
7174
|
* **Note**
|
|
7312
7175
|
* - Fixed columns need a defined width for the feature to work.
|
|
7313
7176
|
* - The aggregated width of all fixed columns must not exceed the table width. Otherwise the table ignores
|
|
7314
|
-
*
|
|
7315
|
-
*
|
|
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.
|
|
7316
7179
|
*
|
|
7317
7180
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7318
7181
|
*
|
|
@@ -7332,8 +7195,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7332
7195
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
7333
7196
|
* fixed, will scroll.
|
|
7334
7197
|
*
|
|
7335
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
7336
|
-
* client model}.
|
|
7198
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7337
7199
|
*
|
|
7338
7200
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7339
7201
|
*
|
|
@@ -7461,10 +7323,10 @@ declare module "sap/ui/table/Table" {
|
|
|
7461
7323
|
* height based on the content density configuration. The actual height can increase based on the content.
|
|
7462
7324
|
*
|
|
7463
7325
|
* In the table's body, it defines the height of the row content. The actual row height is also influenced
|
|
7464
|
-
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode
|
|
7465
|
-
*
|
|
7466
|
-
*
|
|
7467
|
-
*
|
|
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.
|
|
7468
7330
|
*
|
|
7469
7331
|
* If no value is set (includes 0), a default height is applied based on the content density configuration.
|
|
7470
7332
|
* In any `visibleRowCountMode`, the actual height can increase based on the content.
|
|
@@ -7690,7 +7552,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7690
7552
|
* be set manually. Restrictions:
|
|
7691
7553
|
* - All rows need to have the same height.
|
|
7692
7554
|
* - The table must be rendered without siblings in its parent DOM element. The only exception is if the
|
|
7693
|
-
*
|
|
7555
|
+
* parent element is a CSS flex container, and the table is a CSS flex item allowed to grow and shrink.
|
|
7694
7556
|
*
|
|
7695
7557
|
*
|
|
7696
7558
|
* In the `"Interactive"` mode, the table has as many rows as defined in the `visibleRowCount` property
|
|
@@ -7757,6 +7619,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7757
7619
|
*/
|
|
7758
7620
|
unbindRows(): this;
|
|
7759
7621
|
}
|
|
7622
|
+
export default Table;
|
|
7760
7623
|
|
|
7761
7624
|
export interface $TableSettings extends $ControlSettings {
|
|
7762
7625
|
/**
|
|
@@ -7771,10 +7634,10 @@ declare module "sap/ui/table/Table" {
|
|
|
7771
7634
|
* height based on the content density configuration. The actual height can increase based on the content.
|
|
7772
7635
|
*
|
|
7773
7636
|
* In the table's body, it defines the height of the row content. The actual row height is also influenced
|
|
7774
|
-
* by other factors, such as the border width. If the `visibleRowCountMode` property is set to {@link sap.ui.table.VisibleRowCountMode
|
|
7775
|
-
*
|
|
7776
|
-
*
|
|
7777
|
-
*
|
|
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.
|
|
7778
7641
|
*
|
|
7779
7642
|
* If no value is set (includes 0), a default height is applied based on the content density configuration.
|
|
7780
7643
|
* In any `visibleRowCountMode`, the actual height can increase based on the content.
|
|
@@ -7846,6 +7709,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7846
7709
|
selectedIndex?: int | PropertyBindingInfo | `{${string}}`;
|
|
7847
7710
|
|
|
7848
7711
|
/**
|
|
7712
|
+
* @deprecated (since 1.115)
|
|
7713
|
+
*
|
|
7849
7714
|
* Flag whether the controls of the Table are editable or not (currently this only controls the background
|
|
7850
7715
|
* color in certain themes!)
|
|
7851
7716
|
*/
|
|
@@ -7884,16 +7749,16 @@ declare module "sap/ui/table/Table" {
|
|
|
7884
7749
|
*
|
|
7885
7750
|
* The following restrictions apply:
|
|
7886
7751
|
* - Only client models are supported (e.g. {@link sap.ui.model.json.JSONModel}). Grouping does not work
|
|
7887
|
-
*
|
|
7752
|
+
* with OData models.
|
|
7888
7753
|
* - The table can only be grouped by **one** column at a time. Grouping by another column will remove
|
|
7889
|
-
*
|
|
7754
|
+
* the current grouping.
|
|
7890
7755
|
* - For the grouping to work correctly, {@link sap.ui.table.Column#getSortProperty sortProperty} must
|
|
7891
|
-
*
|
|
7756
|
+
* be set for the grouped column.
|
|
7892
7757
|
* - If grouping has been done, sorting and filtering is not possible. Any existing sorting and filtering
|
|
7893
|
-
*
|
|
7758
|
+
* rules do no longer apply. The UI is not updated accordingly (e.g. menu items, sort and filter icons).
|
|
7894
7759
|
*
|
|
7895
7760
|
* - The column, by which the table is grouped, is not visible. It will become visible again only if the
|
|
7896
|
-
*
|
|
7761
|
+
* table is grouped by another column or grouping is disabled.
|
|
7897
7762
|
*/
|
|
7898
7763
|
enableGrouping?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
7899
7764
|
|
|
@@ -7922,7 +7787,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7922
7787
|
* be set manually. Restrictions:
|
|
7923
7788
|
* - All rows need to have the same height.
|
|
7924
7789
|
* - The table must be rendered without siblings in its parent DOM element. The only exception is if the
|
|
7925
|
-
*
|
|
7790
|
+
* parent element is a CSS flex container, and the table is a CSS flex item allowed to grow and shrink.
|
|
7926
7791
|
*
|
|
7927
7792
|
*
|
|
7928
7793
|
* In the `"Interactive"` mode, the table has as many rows as defined in the `visibleRowCount` property
|
|
@@ -7945,8 +7810,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7945
7810
|
* **Note**
|
|
7946
7811
|
* - Fixed columns need a defined width for the feature to work.
|
|
7947
7812
|
* - The aggregated width of all fixed columns must not exceed the table width. Otherwise the table ignores
|
|
7948
|
-
*
|
|
7949
|
-
*
|
|
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.
|
|
7950
7815
|
*/
|
|
7951
7816
|
fixedColumnCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7952
7817
|
|
|
@@ -7954,8 +7819,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7954
7819
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
7955
7820
|
* fixed, will scroll.
|
|
7956
7821
|
*
|
|
7957
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
7958
|
-
* client model}.
|
|
7822
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7959
7823
|
*/
|
|
7960
7824
|
fixedRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7961
7825
|
|
|
@@ -7965,8 +7829,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7965
7829
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
7966
7830
|
* not fixed, will scroll.
|
|
7967
7831
|
*
|
|
7968
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel
|
|
7969
|
-
* client model}.
|
|
7832
|
+
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7970
7833
|
*/
|
|
7971
7834
|
fixedBottomRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7972
7835
|
|
|
@@ -8078,14 +7941,13 @@ declare module "sap/ui/table/Table" {
|
|
|
8078
7941
|
* The cells of rows can be defined with the {@link sap.ui.table.Column#setTemplate template} aggregation
|
|
8079
7942
|
* of the columns in the {@link sap.ui.table.Table#getColumns columns} aggregation of the table. The actions
|
|
8080
7943
|
* of rows can be defined with the {@link sap.ui.table.Table#setRowActionTemplate rowActionTemplate} aggregation
|
|
8081
|
-
* of the table. Furthermore, row-specific settings can be defined with the {@link sap.ui.table.Table#setRowSettingsTemplate
|
|
8082
|
-
*
|
|
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.
|
|
8083
7946
|
*
|
|
8084
7947
|
* **Note:** During the binding of rows, the (exact) count needs to be available in the table and has to
|
|
8085
7948
|
* be requested. If the count is not requested, this may lead to unexpected behavior in the table, such
|
|
8086
7949
|
* as scrolling, accessibility, or keyboard issues. Please refer to the documentation of the used model
|
|
8087
|
-
* for information on requesting the count, for example, {@link sap.ui.model.odata.v2.ODataModel} or {@link
|
|
8088
|
-
* 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}.
|
|
8089
7951
|
*/
|
|
8090
7952
|
rows?: Row[] | Row | AggregationBindingInfo | `{${string}}`;
|
|
8091
7953
|
|
|
@@ -8131,7 +7993,7 @@ declare module "sap/ui/table/Table" {
|
|
|
8131
7993
|
*
|
|
8132
7994
|
* The following restrictions apply:
|
|
8133
7995
|
* - If a selection plugin is applied to the table, the table's selection API must not be used. Instead,
|
|
8134
|
-
*
|
|
7996
|
+
* use the API of the plugin.
|
|
8135
7997
|
* - Only one MultiSelectionPlugin can be applied. No other plugins can be applied.
|
|
8136
7998
|
*/
|
|
8137
7999
|
plugins?:
|
|
@@ -8160,55 +8022,59 @@ declare module "sap/ui/table/Table" {
|
|
|
8160
8022
|
*
|
|
8161
8023
|
* **Note:** If a selection plugin is applied to the table, this event won't be fired.
|
|
8162
8024
|
*/
|
|
8163
|
-
rowSelectionChange?: (
|
|
8025
|
+
rowSelectionChange?: (
|
|
8026
|
+
oEvent: Event<$TableRowSelectionChangeEventParameters>
|
|
8027
|
+
) => void;
|
|
8164
8028
|
|
|
8165
8029
|
/**
|
|
8166
8030
|
* fired when a column of the table has been selected
|
|
8167
8031
|
*/
|
|
8168
|
-
columnSelect?: (oEvent: Event) => void;
|
|
8032
|
+
columnSelect?: (oEvent: Event<$TableColumnSelectEventParameters>) => void;
|
|
8169
8033
|
|
|
8170
8034
|
/**
|
|
8171
8035
|
* fired when a table column is resized.
|
|
8172
8036
|
*/
|
|
8173
|
-
columnResize?: (oEvent: Event) => void;
|
|
8037
|
+
columnResize?: (oEvent: Event<$TableColumnResizeEventParameters>) => void;
|
|
8174
8038
|
|
|
8175
8039
|
/**
|
|
8176
8040
|
* fired when a table column is moved.
|
|
8177
8041
|
*/
|
|
8178
|
-
columnMove?: (oEvent: Event) => void;
|
|
8042
|
+
columnMove?: (oEvent: Event<$TableColumnMoveEventParameters>) => void;
|
|
8179
8043
|
|
|
8180
8044
|
/**
|
|
8181
|
-
* 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 }
|
|
8182
8046
|
* call or user interaction with the column header.
|
|
8183
8047
|
*
|
|
8184
8048
|
* Sorters that are directly applied to the table binding will not fire this event.
|
|
8185
8049
|
*/
|
|
8186
|
-
sort?: (oEvent: Event) => void;
|
|
8050
|
+
sort?: (oEvent: Event<$TableSortEventParameters>) => void;
|
|
8187
8051
|
|
|
8188
8052
|
/**
|
|
8189
|
-
* 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 }
|
|
8190
8054
|
* call or user interaction with the column header.
|
|
8191
8055
|
*
|
|
8192
8056
|
* Filters that are directly applied to the table binding will not fire this event.
|
|
8193
8057
|
*/
|
|
8194
|
-
filter?: (oEvent: Event) => void;
|
|
8058
|
+
filter?: (oEvent: Event<$TableFilterEventParameters>) => void;
|
|
8195
8059
|
|
|
8196
8060
|
/**
|
|
8197
8061
|
* fired when the table is grouped (experimental!).
|
|
8198
8062
|
*/
|
|
8199
|
-
group?: (oEvent: Event) => void;
|
|
8063
|
+
group?: (oEvent: Event<$TableGroupEventParameters>) => void;
|
|
8200
8064
|
|
|
8201
8065
|
/**
|
|
8202
8066
|
* fired when the visibility of a table column is changed.
|
|
8203
8067
|
*/
|
|
8204
|
-
columnVisibility?: (
|
|
8068
|
+
columnVisibility?: (
|
|
8069
|
+
oEvent: Event<$TableColumnVisibilityEventParameters>
|
|
8070
|
+
) => void;
|
|
8205
8071
|
|
|
8206
8072
|
/**
|
|
8207
8073
|
* @SINCE 1.21.0
|
|
8208
8074
|
*
|
|
8209
8075
|
* fired when the user clicks a cell of the table (experimental!).
|
|
8210
8076
|
*/
|
|
8211
|
-
cellClick?: (oEvent: Event) => void;
|
|
8077
|
+
cellClick?: (oEvent: Event<$TableCellClickEventParameters>) => void;
|
|
8212
8078
|
|
|
8213
8079
|
/**
|
|
8214
8080
|
* @SINCE 1.21.0
|
|
@@ -8216,21 +8082,25 @@ declare module "sap/ui/table/Table" {
|
|
|
8216
8082
|
*
|
|
8217
8083
|
* fired when the user clicks a cell of the table.
|
|
8218
8084
|
*/
|
|
8219
|
-
cellContextmenu?: (
|
|
8085
|
+
cellContextmenu?: (
|
|
8086
|
+
oEvent: Event<$TableCellContextmenuEventParameters>
|
|
8087
|
+
) => void;
|
|
8220
8088
|
|
|
8221
8089
|
/**
|
|
8222
8090
|
* @SINCE 1.54
|
|
8223
8091
|
*
|
|
8224
8092
|
* Fired when the user requests the context menu for a table cell.
|
|
8225
8093
|
*/
|
|
8226
|
-
beforeOpenContextMenu?: (
|
|
8094
|
+
beforeOpenContextMenu?: (
|
|
8095
|
+
oEvent: Event<$TableBeforeOpenContextMenuEventParameters>
|
|
8096
|
+
) => void;
|
|
8227
8097
|
|
|
8228
8098
|
/**
|
|
8229
8099
|
* @SINCE 1.21.0
|
|
8230
8100
|
*
|
|
8231
8101
|
* fired when a column of the table should be freezed
|
|
8232
8102
|
*/
|
|
8233
|
-
columnFreeze?: (oEvent: Event) => void;
|
|
8103
|
+
columnFreeze?: (oEvent: Event<$TableColumnFreezeEventParameters>) => void;
|
|
8234
8104
|
|
|
8235
8105
|
/**
|
|
8236
8106
|
* @SINCE 1.23.0
|
|
@@ -8238,7 +8108,7 @@ declare module "sap/ui/table/Table" {
|
|
|
8238
8108
|
* This event is triggered when the custom filter item of the column menu is pressed. The column on which
|
|
8239
8109
|
* the event was triggered is passed as parameter.
|
|
8240
8110
|
*/
|
|
8241
|
-
customFilter?: (oEvent: Event) => void;
|
|
8111
|
+
customFilter?: (oEvent: Event<$TableCustomFilterEventParameters>) => void;
|
|
8242
8112
|
|
|
8243
8113
|
/**
|
|
8244
8114
|
* @SINCE 1.37.0
|
|
@@ -8246,14 +8116,18 @@ declare module "sap/ui/table/Table" {
|
|
|
8246
8116
|
* This event gets fired when the first visible row is changed. It should only be used by composite controls.
|
|
8247
8117
|
* The event even is fired when setFirstVisibleRow is called programmatically.
|
|
8248
8118
|
*/
|
|
8249
|
-
firstVisibleRowChanged?: (
|
|
8119
|
+
firstVisibleRowChanged?: (
|
|
8120
|
+
oEvent: Event<$TableFirstVisibleRowChangedEventParameters>
|
|
8121
|
+
) => void;
|
|
8250
8122
|
|
|
8251
8123
|
/**
|
|
8252
8124
|
* @SINCE 1.37.0
|
|
8253
8125
|
*
|
|
8254
8126
|
* This event gets fired when the busy state of the table changes. It should only be used by composite controls.
|
|
8255
8127
|
*/
|
|
8256
|
-
busyStateChanged?: (
|
|
8128
|
+
busyStateChanged?: (
|
|
8129
|
+
oEvent: Event<$TableBusyStateChangedEventParameters>
|
|
8130
|
+
) => void;
|
|
8257
8131
|
|
|
8258
8132
|
/**
|
|
8259
8133
|
* @SINCE 1.60
|
|
@@ -8261,7 +8135,7 @@ declare module "sap/ui/table/Table" {
|
|
|
8261
8135
|
* This event gets fired when the user pastes content from the clipboard to the table. Pasting can be done
|
|
8262
8136
|
* with the standard keyboard shortcut, if the focus is inside the table.
|
|
8263
8137
|
*/
|
|
8264
|
-
paste?: (oEvent: Event) => void;
|
|
8138
|
+
paste?: (oEvent: Event<$TablePasteEventParameters>) => void;
|
|
8265
8139
|
|
|
8266
8140
|
/**
|
|
8267
8141
|
* @SINCE 1.86
|
|
@@ -8273,6 +8147,239 @@ declare module "sap/ui/table/Table" {
|
|
|
8273
8147
|
*/
|
|
8274
8148
|
rowsUpdated?: (oEvent: Event) => void;
|
|
8275
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
|
+
}
|
|
8276
8383
|
}
|
|
8277
8384
|
|
|
8278
8385
|
declare module "sap/ui/table/TablePersoController" {
|
|
@@ -8292,10 +8399,11 @@ declare module "sap/ui/table/TablePersoController" {
|
|
|
8292
8399
|
|
|
8293
8400
|
/**
|
|
8294
8401
|
* @SINCE 1.21.1
|
|
8402
|
+
* @deprecated (since 1.115) - Please use the {@link sap.m.p13n.Engine Engine} for personalization instead.
|
|
8295
8403
|
*
|
|
8296
8404
|
* The TablePersoController can be used to connect a table with a persistence service.
|
|
8297
8405
|
*/
|
|
8298
|
-
|
|
8406
|
+
class TablePersoController extends ManagedObject {
|
|
8299
8407
|
/**
|
|
8300
8408
|
* Constructor for a new TablePersoController.
|
|
8301
8409
|
*
|
|
@@ -8551,6 +8659,7 @@ declare module "sap/ui/table/TablePersoController" {
|
|
|
8551
8659
|
oTable: ID | Table
|
|
8552
8660
|
): this;
|
|
8553
8661
|
}
|
|
8662
|
+
export default TablePersoController;
|
|
8554
8663
|
|
|
8555
8664
|
export interface $TablePersoControllerSettings
|
|
8556
8665
|
extends $ManagedObjectSettings {
|
|
@@ -8616,7 +8725,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8616
8725
|
/**
|
|
8617
8726
|
* The TreeTable control provides a comprehensive set of features to display hierarchical data.
|
|
8618
8727
|
*/
|
|
8619
|
-
|
|
8728
|
+
class TreeTable extends Table {
|
|
8620
8729
|
/**
|
|
8621
8730
|
* Constructor for a new TreeTable.
|
|
8622
8731
|
*
|
|
@@ -8624,8 +8733,8 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8624
8733
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
8625
8734
|
* of the syntax of the settings object.
|
|
8626
8735
|
* See:
|
|
8627
|
-
* {@link topic
|
|
8628
|
-
* {@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?}
|
|
8629
8738
|
* {@link fiori:/tree-table/ Tree Table}
|
|
8630
8739
|
*/
|
|
8631
8740
|
constructor(
|
|
@@ -8641,8 +8750,8 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8641
8750
|
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
8642
8751
|
* of the syntax of the settings object.
|
|
8643
8752
|
* See:
|
|
8644
|
-
* {@link topic
|
|
8645
|
-
* {@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?}
|
|
8646
8755
|
* {@link fiori:/tree-table/ Tree Table}
|
|
8647
8756
|
*/
|
|
8648
8757
|
constructor(
|
|
@@ -8724,7 +8833,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8724
8833
|
/**
|
|
8725
8834
|
* The function to be called when the event occurs
|
|
8726
8835
|
*/
|
|
8727
|
-
fnFunction: (p1: Event) => void,
|
|
8836
|
+
fnFunction: (p1: Event<$TreeTableToggleOpenStateEventParameters>) => void,
|
|
8728
8837
|
/**
|
|
8729
8838
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.TreeTable` itself
|
|
8730
8839
|
*/
|
|
@@ -8745,7 +8854,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8745
8854
|
/**
|
|
8746
8855
|
* The function to be called when the event occurs
|
|
8747
8856
|
*/
|
|
8748
|
-
fnFunction: (p1: Event) => void,
|
|
8857
|
+
fnFunction: (p1: Event<$TreeTableToggleOpenStateEventParameters>) => void,
|
|
8749
8858
|
/**
|
|
8750
8859
|
* Context object to call the event handler with. Defaults to this `sap.ui.table.TreeTable` itself
|
|
8751
8860
|
*/
|
|
@@ -8780,7 +8889,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8780
8889
|
/**
|
|
8781
8890
|
* The function to be called, when the event occurs
|
|
8782
8891
|
*/
|
|
8783
|
-
fnFunction: (p1: Event) => void,
|
|
8892
|
+
fnFunction: (p1: Event<$TreeTableToggleOpenStateEventParameters>) => void,
|
|
8784
8893
|
/**
|
|
8785
8894
|
* Context object on which the given function had to be called
|
|
8786
8895
|
*/
|
|
@@ -8824,20 +8933,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
8824
8933
|
/**
|
|
8825
8934
|
* Parameters to pass along with the event
|
|
8826
8935
|
*/
|
|
8827
|
-
mParameters?:
|
|
8828
|
-
/**
|
|
8829
|
-
* Index of the expanded/collapsed row
|
|
8830
|
-
*/
|
|
8831
|
-
rowIndex?: int;
|
|
8832
|
-
/**
|
|
8833
|
-
* Binding context of the expanded/collapsed row
|
|
8834
|
-
*/
|
|
8835
|
-
rowContext?: object;
|
|
8836
|
-
/**
|
|
8837
|
-
* Flag that indicates whether the row has been expanded or collapsed
|
|
8838
|
-
*/
|
|
8839
|
-
expanded?: boolean;
|
|
8840
|
-
}
|
|
8936
|
+
mParameters?: $TreeTableToggleOpenStateEventParameters
|
|
8841
8937
|
): this;
|
|
8842
8938
|
/**
|
|
8843
8939
|
* @deprecated (since 1.76) - replaced by the `collapseRecursive` binding parameter. May not work with all
|
|
@@ -9227,6 +9323,7 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
9227
9323
|
bUseGroupMode?: boolean
|
|
9228
9324
|
): this;
|
|
9229
9325
|
}
|
|
9326
|
+
export default TreeTable;
|
|
9230
9327
|
|
|
9231
9328
|
export interface $TreeTableSettings extends $TableSettings {
|
|
9232
9329
|
/**
|
|
@@ -9310,7 +9407,26 @@ declare module "sap/ui/table/TreeTable" {
|
|
|
9310
9407
|
/**
|
|
9311
9408
|
* Fired when a row has been expanded or collapsed by user interaction. Only available in hierarchical mode.
|
|
9312
9409
|
*/
|
|
9313
|
-
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;
|
|
9314
9430
|
}
|
|
9315
9431
|
}
|
|
9316
9432
|
|