@openui5/types 1.117.1 → 1.119.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 +536 -4
- package/types/sap.m.d.ts +696 -169
- package/types/sap.tnt.d.ts +17 -15
- package/types/sap.ui.codeeditor.d.ts +5 -2
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +1406 -228
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -4
- package/types/sap.ui.integration.d.ts +78 -3
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +1586 -533
- package/types/sap.ui.rta.d.ts +1 -4
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +1183 -128
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -20
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +76 -35
- package/types/sap.ui.webc.fiori.d.ts +85 -85
- package/types/sap.ui.webc.main.d.ts +225 -225
- package/types/sap.uxap.d.ts +116 -1
package/types/sap.ui.table.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.119.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/ui/table/library" {
|
|
4
4
|
import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
|
|
@@ -255,6 +255,18 @@ declare module "sap/ui/table/AnalyticalColumn" {
|
|
|
255
255
|
* @returns Metadata object describing this class
|
|
256
256
|
*/
|
|
257
257
|
static getMetadata(): ElementMetadata;
|
|
258
|
+
/**
|
|
259
|
+
* @since 1.118
|
|
260
|
+
*
|
|
261
|
+
* Gets current value of property {@link #getGrouped grouped}.
|
|
262
|
+
*
|
|
263
|
+
* Indicates if the column is grouped.
|
|
264
|
+
*
|
|
265
|
+
* Default value is `false`.
|
|
266
|
+
*
|
|
267
|
+
* @returns Value of property `grouped`
|
|
268
|
+
*/
|
|
269
|
+
getGrouped(): boolean;
|
|
258
270
|
/**
|
|
259
271
|
* Gets current value of property {@link #getGroupHeaderFormatter groupHeaderFormatter}.
|
|
260
272
|
*
|
|
@@ -304,6 +316,25 @@ declare module "sap/ui/table/AnalyticalColumn" {
|
|
|
304
316
|
* @returns Value of property `summed`
|
|
305
317
|
*/
|
|
306
318
|
getSummed(): boolean;
|
|
319
|
+
/**
|
|
320
|
+
* @since 1.118
|
|
321
|
+
*
|
|
322
|
+
* Sets a new value for property {@link #getGrouped grouped}.
|
|
323
|
+
*
|
|
324
|
+
* Indicates if the column is grouped.
|
|
325
|
+
*
|
|
326
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
327
|
+
*
|
|
328
|
+
* Default value is `false`.
|
|
329
|
+
*
|
|
330
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
331
|
+
*/
|
|
332
|
+
setGrouped(
|
|
333
|
+
/**
|
|
334
|
+
* New value for property `grouped`
|
|
335
|
+
*/
|
|
336
|
+
bGrouped?: boolean
|
|
337
|
+
): this;
|
|
307
338
|
/**
|
|
308
339
|
* Sets a new value for property {@link #getGroupHeaderFormatter groupHeaderFormatter}.
|
|
309
340
|
*
|
|
@@ -418,6 +449,13 @@ declare module "sap/ui/table/AnalyticalColumn" {
|
|
|
418
449
|
* If the column is grouped, this formatter is used to format the value in the group header
|
|
419
450
|
*/
|
|
420
451
|
groupHeaderFormatter?: Function | PropertyBindingInfo | `{${string}}`;
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* @since 1.118
|
|
455
|
+
*
|
|
456
|
+
* Indicates if the column is grouped.
|
|
457
|
+
*/
|
|
458
|
+
grouped?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
421
459
|
}
|
|
422
460
|
}
|
|
423
461
|
|
|
@@ -508,9 +546,11 @@ declare module "sap/ui/table/AnalyticalColumnMenu" {
|
|
|
508
546
|
}
|
|
509
547
|
|
|
510
548
|
declare module "sap/ui/table/AnalyticalTable" {
|
|
511
|
-
import {
|
|
512
|
-
|
|
513
|
-
|
|
549
|
+
import {
|
|
550
|
+
default as Table,
|
|
551
|
+
$TableSettings,
|
|
552
|
+
Table$GroupEventParameters,
|
|
553
|
+
} from "sap/ui/table/Table";
|
|
514
554
|
|
|
515
555
|
import { ID } from "sap/ui/core/library";
|
|
516
556
|
|
|
@@ -520,6 +560,8 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
520
560
|
|
|
521
561
|
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
522
562
|
|
|
563
|
+
import Event from "sap/ui/base/Event";
|
|
564
|
+
|
|
523
565
|
/**
|
|
524
566
|
* Table which handles analytical OData backends. The AnalyticalTable only works with an AnalyticalBinding
|
|
525
567
|
* and correctly annotated OData services. Please check on the SAP Annotations for OData Version 2.0 documentation
|
|
@@ -615,6 +657,55 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
615
657
|
*/
|
|
616
658
|
iToIndex: int
|
|
617
659
|
): this;
|
|
660
|
+
/**
|
|
661
|
+
* @since 1.118
|
|
662
|
+
*
|
|
663
|
+
* Attaches event handler `fnFunction` to the {@link #event:group group} event of this `sap.ui.table.AnalyticalTable`.
|
|
664
|
+
*
|
|
665
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
666
|
+
* otherwise it will be bound to this `sap.ui.table.AnalyticalTable` itself.
|
|
667
|
+
*
|
|
668
|
+
* Fired when the table is grouped.
|
|
669
|
+
*
|
|
670
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
671
|
+
*/
|
|
672
|
+
attachGroup(
|
|
673
|
+
/**
|
|
674
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
675
|
+
* object when firing the event
|
|
676
|
+
*/
|
|
677
|
+
oData: object,
|
|
678
|
+
/**
|
|
679
|
+
* The function to be called when the event occurs
|
|
680
|
+
*/
|
|
681
|
+
fnFunction: (p1: AnalyticalTable$GroupEvent) => void,
|
|
682
|
+
/**
|
|
683
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.table.AnalyticalTable` itself
|
|
684
|
+
*/
|
|
685
|
+
oListener?: object
|
|
686
|
+
): this;
|
|
687
|
+
/**
|
|
688
|
+
* @since 1.118
|
|
689
|
+
*
|
|
690
|
+
* Attaches event handler `fnFunction` to the {@link #event:group group} event of this `sap.ui.table.AnalyticalTable`.
|
|
691
|
+
*
|
|
692
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
693
|
+
* otherwise it will be bound to this `sap.ui.table.AnalyticalTable` itself.
|
|
694
|
+
*
|
|
695
|
+
* Fired when the table is grouped.
|
|
696
|
+
*
|
|
697
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
698
|
+
*/
|
|
699
|
+
attachGroup(
|
|
700
|
+
/**
|
|
701
|
+
* The function to be called when the event occurs
|
|
702
|
+
*/
|
|
703
|
+
fnFunction: (p1: AnalyticalTable$GroupEvent) => void,
|
|
704
|
+
/**
|
|
705
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.table.AnalyticalTable` itself
|
|
706
|
+
*/
|
|
707
|
+
oListener?: object
|
|
708
|
+
): this;
|
|
618
709
|
/**
|
|
619
710
|
* Collapses one or more rows.
|
|
620
711
|
*
|
|
@@ -632,6 +723,25 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
632
723
|
* @returns Reference to `this` in order to allow method chaining
|
|
633
724
|
*/
|
|
634
725
|
collapseAll(): this;
|
|
726
|
+
/**
|
|
727
|
+
* @since 1.118
|
|
728
|
+
*
|
|
729
|
+
* Detaches event handler `fnFunction` from the {@link #event:group group} event of this `sap.ui.table.AnalyticalTable`.
|
|
730
|
+
*
|
|
731
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
732
|
+
*
|
|
733
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
734
|
+
*/
|
|
735
|
+
detachGroup(
|
|
736
|
+
/**
|
|
737
|
+
* The function to be called, when the event occurs
|
|
738
|
+
*/
|
|
739
|
+
fnFunction: (p1: AnalyticalTable$GroupEvent) => void,
|
|
740
|
+
/**
|
|
741
|
+
* Context object on which the given function had to be called
|
|
742
|
+
*/
|
|
743
|
+
oListener?: object
|
|
744
|
+
): this;
|
|
635
745
|
/**
|
|
636
746
|
* Expands one or more rows.
|
|
637
747
|
*
|
|
@@ -653,6 +763,23 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
653
763
|
* @returns Reference to `this` in order to allow method chaining
|
|
654
764
|
*/
|
|
655
765
|
expandAll(): this;
|
|
766
|
+
/**
|
|
767
|
+
* @since 1.118
|
|
768
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
769
|
+
*
|
|
770
|
+
* Fires event {@link #event:group group} to attached listeners.
|
|
771
|
+
*
|
|
772
|
+
* Listeners may prevent the default action of this event by calling the `preventDefault` method on the
|
|
773
|
+
* event object. The return value of this method indicates whether the default action should be executed.
|
|
774
|
+
*
|
|
775
|
+
* @returns Whether or not to prevent the default action
|
|
776
|
+
*/
|
|
777
|
+
fireGroup(
|
|
778
|
+
/**
|
|
779
|
+
* Parameters to pass along with the event
|
|
780
|
+
*/
|
|
781
|
+
mParameters?: AnalyticalTable$GroupEventParameters
|
|
782
|
+
): boolean;
|
|
656
783
|
/**
|
|
657
784
|
* @deprecated (since 1.44) - replaced by the `autoExpandMode` binding parameter
|
|
658
785
|
*
|
|
@@ -721,17 +848,6 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
721
848
|
* @returns Value of property `columnVisibilityMenuSorter`
|
|
722
849
|
*/
|
|
723
850
|
getColumnVisibilityMenuSorter(): any;
|
|
724
|
-
/**
|
|
725
|
-
* Returns the context of a row by its index.
|
|
726
|
-
*
|
|
727
|
-
* @returns The context of a row by its index
|
|
728
|
-
*/
|
|
729
|
-
getContextByIndex(
|
|
730
|
-
/**
|
|
731
|
-
* Index of the row to return the context from.
|
|
732
|
-
*/
|
|
733
|
-
iIndex: int
|
|
734
|
-
): Context;
|
|
735
851
|
/**
|
|
736
852
|
* @deprecated (since 1.21.2) - replaced by {@link sap.ui.table.Table#setShowOverlay}
|
|
737
853
|
*
|
|
@@ -1241,7 +1357,22 @@ declare module "sap/ui/table/AnalyticalTable" {
|
|
|
1241
1357
|
* If dirty the content of the Table will be overlayed.
|
|
1242
1358
|
*/
|
|
1243
1359
|
dirty?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* @since 1.118
|
|
1363
|
+
*
|
|
1364
|
+
* Fired when the table is grouped.
|
|
1365
|
+
*/
|
|
1366
|
+
group?: (oEvent: AnalyticalTable$GroupEvent) => void;
|
|
1244
1367
|
}
|
|
1368
|
+
|
|
1369
|
+
export interface AnalyticalTable$GroupEventParameters
|
|
1370
|
+
extends Table$GroupEventParameters {}
|
|
1371
|
+
|
|
1372
|
+
export type AnalyticalTable$GroupEvent = Event<
|
|
1373
|
+
AnalyticalTable$GroupEventParameters,
|
|
1374
|
+
AnalyticalTable
|
|
1375
|
+
>;
|
|
1245
1376
|
}
|
|
1246
1377
|
|
|
1247
1378
|
declare module "sap/ui/table/Column" {
|
|
@@ -1581,6 +1712,8 @@ declare module "sap/ui/table/Column" {
|
|
|
1581
1712
|
*/
|
|
1582
1713
|
getFlexible(): boolean;
|
|
1583
1714
|
/**
|
|
1715
|
+
* @deprecated (since 1.118)
|
|
1716
|
+
*
|
|
1584
1717
|
* Gets current value of property {@link #getGrouped grouped}.
|
|
1585
1718
|
*
|
|
1586
1719
|
* Indicates if the column is grouped.
|
|
@@ -1629,6 +1762,8 @@ declare module "sap/ui/table/Column" {
|
|
|
1629
1762
|
* Label of the column which is displayed in the column header. This aggregation is for the standard behavior,
|
|
1630
1763
|
* where you only want to display one single row header. If a string is supplied, a default label control
|
|
1631
1764
|
* will be created. Which control this is depends on the loaded libraries.
|
|
1765
|
+
*
|
|
1766
|
+
* **Note:** The `altType` string is deprecated as of version 1.118. Use a `Control` instead.
|
|
1632
1767
|
*/
|
|
1633
1768
|
getLabel(): Control | string;
|
|
1634
1769
|
/**
|
|
@@ -1761,6 +1896,8 @@ declare module "sap/ui/table/Column" {
|
|
|
1761
1896
|
* in the documentation for more details. While it is technically possible to also use other controls, doing
|
|
1762
1897
|
* so might lead to issues with regards to scrolling, alignment, condensed mode, screen reader support,
|
|
1763
1898
|
* and keyboard support.
|
|
1899
|
+
*
|
|
1900
|
+
* **Note:** The `altType` string is deprecated as of version 1.118. Use a `Control` instead.
|
|
1764
1901
|
*/
|
|
1765
1902
|
getTemplate(): Control | string;
|
|
1766
1903
|
/**
|
|
@@ -2015,6 +2152,8 @@ declare module "sap/ui/table/Column" {
|
|
|
2015
2152
|
bFlexible?: boolean
|
|
2016
2153
|
): this;
|
|
2017
2154
|
/**
|
|
2155
|
+
* @deprecated (since 1.118)
|
|
2156
|
+
*
|
|
2018
2157
|
* Sets a new value for property {@link #getGrouped grouped}.
|
|
2019
2158
|
*
|
|
2020
2159
|
* Indicates if the column is grouped.
|
|
@@ -2471,6 +2610,8 @@ declare module "sap/ui/table/Column" {
|
|
|
2471
2610
|
filterType?: any | PropertyBindingInfo | `{${string}}`;
|
|
2472
2611
|
|
|
2473
2612
|
/**
|
|
2613
|
+
* @deprecated (since 1.118)
|
|
2614
|
+
*
|
|
2474
2615
|
* Indicates if the column is grouped.
|
|
2475
2616
|
*/
|
|
2476
2617
|
grouped?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
@@ -2528,6 +2669,8 @@ declare module "sap/ui/table/Column" {
|
|
|
2528
2669
|
* Label of the column which is displayed in the column header. This aggregation is for the standard behavior,
|
|
2529
2670
|
* where you only want to display one single row header. If a string is supplied, a default label control
|
|
2530
2671
|
* will be created. Which control this is depends on the loaded libraries.
|
|
2672
|
+
*
|
|
2673
|
+
* **Note:** The `altType` string is deprecated as of version 1.118. Use a `Control` instead.
|
|
2531
2674
|
*/
|
|
2532
2675
|
label?: string | Control | PropertyBindingInfo;
|
|
2533
2676
|
|
|
@@ -2549,6 +2692,8 @@ declare module "sap/ui/table/Column" {
|
|
|
2549
2692
|
* in the documentation for more details. While it is technically possible to also use other controls, doing
|
|
2550
2693
|
* so might lead to issues with regards to scrolling, alignment, condensed mode, screen reader support,
|
|
2551
2694
|
* and keyboard support.
|
|
2695
|
+
*
|
|
2696
|
+
* **Note:** The `altType` string is deprecated as of version 1.118. Use a `Control` instead.
|
|
2552
2697
|
*/
|
|
2553
2698
|
template?: string | Control | PropertyBindingInfo;
|
|
2554
2699
|
|
|
@@ -3834,197 +3979,1027 @@ declare module "sap/ui/table/RowActionItem" {
|
|
|
3834
3979
|
/**
|
|
3835
3980
|
* The function to be called when the event occurs
|
|
3836
3981
|
*/
|
|
3837
|
-
fnFunction: (p1: RowActionItem$PressEvent) => void,
|
|
3982
|
+
fnFunction: (p1: RowActionItem$PressEvent) => void,
|
|
3983
|
+
/**
|
|
3984
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.table.RowActionItem` itself
|
|
3985
|
+
*/
|
|
3986
|
+
oListener?: object
|
|
3987
|
+
): this;
|
|
3988
|
+
/**
|
|
3989
|
+
* Detaches event handler `fnFunction` from the {@link #event:press press} event of this `sap.ui.table.RowActionItem`.
|
|
3990
|
+
*
|
|
3991
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
3992
|
+
*
|
|
3993
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3994
|
+
*/
|
|
3995
|
+
detachPress(
|
|
3996
|
+
/**
|
|
3997
|
+
* The function to be called, when the event occurs
|
|
3998
|
+
*/
|
|
3999
|
+
fnFunction: (p1: RowActionItem$PressEvent) => void,
|
|
4000
|
+
/**
|
|
4001
|
+
* Context object on which the given function had to be called
|
|
4002
|
+
*/
|
|
4003
|
+
oListener?: object
|
|
4004
|
+
): this;
|
|
4005
|
+
/**
|
|
4006
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
4007
|
+
*
|
|
4008
|
+
* Fires event {@link #event:press press} to attached listeners.
|
|
4009
|
+
*
|
|
4010
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4011
|
+
*/
|
|
4012
|
+
firePress(
|
|
4013
|
+
/**
|
|
4014
|
+
* Parameters to pass along with the event
|
|
4015
|
+
*/
|
|
4016
|
+
mParameters?: RowActionItem$PressEventParameters
|
|
4017
|
+
): this;
|
|
4018
|
+
/**
|
|
4019
|
+
* Gets current value of property {@link #getIcon icon}.
|
|
4020
|
+
*
|
|
4021
|
+
* The icon of the item.
|
|
4022
|
+
*
|
|
4023
|
+
* @returns Value of property `icon`
|
|
4024
|
+
*/
|
|
4025
|
+
getIcon(): URI;
|
|
4026
|
+
/**
|
|
4027
|
+
* Gets current value of property {@link #getText text}.
|
|
4028
|
+
*
|
|
4029
|
+
* The text of the item. It is used as tooltip and for accessibility purposes.
|
|
4030
|
+
*
|
|
4031
|
+
* Default value is `empty string`.
|
|
4032
|
+
*
|
|
4033
|
+
* @returns Value of property `text`
|
|
4034
|
+
*/
|
|
4035
|
+
getText(): string;
|
|
4036
|
+
/**
|
|
4037
|
+
* Gets current value of property {@link #getType type}.
|
|
4038
|
+
*
|
|
4039
|
+
* The type of the item. Setting the type ensures default values for the properties `icon` and `text`. If
|
|
4040
|
+
* an icon or text is set explicitly this setting is used.
|
|
4041
|
+
*
|
|
4042
|
+
* Default value is `Custom`.
|
|
4043
|
+
*
|
|
4044
|
+
* @returns Value of property `type`
|
|
4045
|
+
*/
|
|
4046
|
+
getType(): RowActionType | keyof typeof RowActionType;
|
|
4047
|
+
/**
|
|
4048
|
+
* Gets current value of property {@link #getVisible visible}.
|
|
4049
|
+
*
|
|
4050
|
+
* Whether the item should be visible on the screen.
|
|
4051
|
+
*
|
|
4052
|
+
* Default value is `true`.
|
|
4053
|
+
*
|
|
4054
|
+
* @returns Value of property `visible`
|
|
4055
|
+
*/
|
|
4056
|
+
getVisible(): boolean;
|
|
4057
|
+
/**
|
|
4058
|
+
* Sets a new value for property {@link #getIcon icon}.
|
|
4059
|
+
*
|
|
4060
|
+
* The icon of the item.
|
|
4061
|
+
*
|
|
4062
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4063
|
+
*
|
|
4064
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4065
|
+
*/
|
|
4066
|
+
setIcon(
|
|
4067
|
+
/**
|
|
4068
|
+
* New value for property `icon`
|
|
4069
|
+
*/
|
|
4070
|
+
sIcon?: URI
|
|
4071
|
+
): this;
|
|
4072
|
+
/**
|
|
4073
|
+
* Sets a new value for property {@link #getText text}.
|
|
4074
|
+
*
|
|
4075
|
+
* The text of the item. It is used as tooltip and for accessibility purposes.
|
|
4076
|
+
*
|
|
4077
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4078
|
+
*
|
|
4079
|
+
* Default value is `empty string`.
|
|
4080
|
+
*
|
|
4081
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4082
|
+
*/
|
|
4083
|
+
setText(
|
|
4084
|
+
/**
|
|
4085
|
+
* New value for property `text`
|
|
4086
|
+
*/
|
|
4087
|
+
sText?: string
|
|
4088
|
+
): this;
|
|
4089
|
+
/**
|
|
4090
|
+
* Sets a new value for property {@link #getType type}.
|
|
4091
|
+
*
|
|
4092
|
+
* The type of the item. Setting the type ensures default values for the properties `icon` and `text`. If
|
|
4093
|
+
* an icon or text is set explicitly this setting is used.
|
|
4094
|
+
*
|
|
4095
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4096
|
+
*
|
|
4097
|
+
* Default value is `Custom`.
|
|
4098
|
+
*
|
|
4099
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4100
|
+
*/
|
|
4101
|
+
setType(
|
|
4102
|
+
/**
|
|
4103
|
+
* New value for property `type`
|
|
4104
|
+
*/
|
|
4105
|
+
sType?: RowActionType | keyof typeof RowActionType
|
|
4106
|
+
): this;
|
|
4107
|
+
/**
|
|
4108
|
+
* Sets a new value for property {@link #getVisible visible}.
|
|
4109
|
+
*
|
|
4110
|
+
* Whether the item should be visible on the screen.
|
|
4111
|
+
*
|
|
4112
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4113
|
+
*
|
|
4114
|
+
* Default value is `true`.
|
|
4115
|
+
*
|
|
4116
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4117
|
+
*/
|
|
4118
|
+
setVisible(
|
|
4119
|
+
/**
|
|
4120
|
+
* New value for property `visible`
|
|
4121
|
+
*/
|
|
4122
|
+
bVisible?: boolean
|
|
4123
|
+
): this;
|
|
4124
|
+
}
|
|
4125
|
+
|
|
4126
|
+
export interface $RowActionItemSettings extends $ElementSettings {
|
|
4127
|
+
/**
|
|
4128
|
+
* The icon of the item.
|
|
4129
|
+
*/
|
|
4130
|
+
icon?: URI | PropertyBindingInfo | `{${string}}`;
|
|
4131
|
+
|
|
4132
|
+
/**
|
|
4133
|
+
* Whether the item should be visible on the screen.
|
|
4134
|
+
*/
|
|
4135
|
+
visible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
4136
|
+
|
|
4137
|
+
/**
|
|
4138
|
+
* The text of the item. It is used as tooltip and for accessibility purposes.
|
|
4139
|
+
*/
|
|
4140
|
+
text?: string | PropertyBindingInfo;
|
|
4141
|
+
|
|
4142
|
+
/**
|
|
4143
|
+
* The type of the item. Setting the type ensures default values for the properties `icon` and `text`. If
|
|
4144
|
+
* an icon or text is set explicitly this setting is used.
|
|
4145
|
+
*/
|
|
4146
|
+
type?:
|
|
4147
|
+
| (RowActionType | keyof typeof RowActionType)
|
|
4148
|
+
| PropertyBindingInfo
|
|
4149
|
+
| `{${string}}`;
|
|
4150
|
+
|
|
4151
|
+
/**
|
|
4152
|
+
* The `press` is fired when the user triggers the corresponding action.
|
|
4153
|
+
*/
|
|
4154
|
+
press?: (oEvent: RowActionItem$PressEvent) => void;
|
|
4155
|
+
}
|
|
4156
|
+
|
|
4157
|
+
export interface RowActionItem$PressEventParameters {
|
|
4158
|
+
/**
|
|
4159
|
+
* The item which was pressed.
|
|
4160
|
+
*/
|
|
4161
|
+
item?: RowActionItem;
|
|
4162
|
+
|
|
4163
|
+
/**
|
|
4164
|
+
* The table row to which the pressed item belongs to.
|
|
4165
|
+
*/
|
|
4166
|
+
row?: Row;
|
|
4167
|
+
}
|
|
4168
|
+
|
|
4169
|
+
export type RowActionItem$PressEvent = Event<
|
|
4170
|
+
RowActionItem$PressEventParameters,
|
|
4171
|
+
RowActionItem
|
|
4172
|
+
>;
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4175
|
+
declare module "sap/ui/table/rowmodes/Auto" {
|
|
4176
|
+
import {
|
|
4177
|
+
default as RowMode,
|
|
4178
|
+
$RowModeSettings,
|
|
4179
|
+
} from "sap/ui/table/rowmodes/RowMode";
|
|
4180
|
+
|
|
4181
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4182
|
+
|
|
4183
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
4184
|
+
|
|
4185
|
+
/**
|
|
4186
|
+
* @since 1.119
|
|
4187
|
+
*
|
|
4188
|
+
* The number of rows displayed in the table is calculated based on the space it is allowed to cover (limited
|
|
4189
|
+
* by the surrounding container). The table must be rendered without siblings in the DOM. The only exception
|
|
4190
|
+
* is if the table's parent element is a flexbox, and the table is a flex item allowed to grow and shrink.
|
|
4191
|
+
* The number of rows to be displayed can only be determined after the layout has been completed. The data
|
|
4192
|
+
* can already be requested before that. To avoid multiple data requests, the amount of initially requested
|
|
4193
|
+
* data is based on the maximum number of potentially displayed rows, which takes the window size into consideration,
|
|
4194
|
+
* for example.
|
|
4195
|
+
*/
|
|
4196
|
+
export default class Auto extends RowMode {
|
|
4197
|
+
/**
|
|
4198
|
+
* Constructor for a new `Auto` row mode.
|
|
4199
|
+
*
|
|
4200
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4201
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4202
|
+
* of the syntax of the settings object.
|
|
4203
|
+
*/
|
|
4204
|
+
constructor(
|
|
4205
|
+
/**
|
|
4206
|
+
* initial settings for the new control
|
|
4207
|
+
*/
|
|
4208
|
+
mSettings?: $AutoSettings
|
|
4209
|
+
);
|
|
4210
|
+
/**
|
|
4211
|
+
* Constructor for a new `Auto` row mode.
|
|
4212
|
+
*
|
|
4213
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4214
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4215
|
+
* of the syntax of the settings object.
|
|
4216
|
+
*/
|
|
4217
|
+
constructor(
|
|
4218
|
+
/**
|
|
4219
|
+
* id for the new control, generated automatically if no id is given
|
|
4220
|
+
*/
|
|
4221
|
+
sId?: string,
|
|
4222
|
+
/**
|
|
4223
|
+
* initial settings for the new control
|
|
4224
|
+
*/
|
|
4225
|
+
mSettings?: $AutoSettings
|
|
4226
|
+
);
|
|
4227
|
+
|
|
4228
|
+
/**
|
|
4229
|
+
* Creates a new subclass of class sap.ui.table.rowmodes.Auto with name `sClassName` and enriches it with
|
|
4230
|
+
* the information contained in `oClassInfo`.
|
|
4231
|
+
*
|
|
4232
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.rowmodes.RowMode.extend}.
|
|
4233
|
+
*
|
|
4234
|
+
* @returns Created class / constructor function
|
|
4235
|
+
*/
|
|
4236
|
+
static extend<T extends Record<string, unknown>>(
|
|
4237
|
+
/**
|
|
4238
|
+
* Name of the class being created
|
|
4239
|
+
*/
|
|
4240
|
+
sClassName: string,
|
|
4241
|
+
/**
|
|
4242
|
+
* Object literal with information about the class
|
|
4243
|
+
*/
|
|
4244
|
+
oClassInfo?: sap.ClassInfo<T, Auto>,
|
|
4245
|
+
/**
|
|
4246
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
4247
|
+
* used by this class
|
|
4248
|
+
*/
|
|
4249
|
+
FNMetaImpl?: Function
|
|
4250
|
+
): Function;
|
|
4251
|
+
/**
|
|
4252
|
+
* Returns a metadata object for class sap.ui.table.rowmodes.Auto.
|
|
4253
|
+
*
|
|
4254
|
+
* @returns Metadata object describing this class
|
|
4255
|
+
*/
|
|
4256
|
+
static getMetadata(): ElementMetadata;
|
|
4257
|
+
/**
|
|
4258
|
+
* Gets current value of property {@link #getFixedBottomRowCount fixedBottomRowCount}.
|
|
4259
|
+
*
|
|
4260
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4261
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4262
|
+
* rows.
|
|
4263
|
+
*
|
|
4264
|
+
* Default value is `0`.
|
|
4265
|
+
*
|
|
4266
|
+
* @returns Value of property `fixedBottomRowCount`
|
|
4267
|
+
*/
|
|
4268
|
+
getFixedBottomRowCount(): int;
|
|
4269
|
+
/**
|
|
4270
|
+
* Gets current value of property {@link #getFixedTopRowCount fixedTopRowCount}.
|
|
4271
|
+
*
|
|
4272
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4273
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
4274
|
+
*
|
|
4275
|
+
* Default value is `0`.
|
|
4276
|
+
*
|
|
4277
|
+
* @returns Value of property `fixedTopRowCount`
|
|
4278
|
+
*/
|
|
4279
|
+
getFixedTopRowCount(): int;
|
|
4280
|
+
/**
|
|
4281
|
+
* Gets current value of property {@link #getMaxRowCount maxRowCount}.
|
|
4282
|
+
*
|
|
4283
|
+
* The maximum number of displayed rows. The `minRowCount` is ignored if the maximum is lower than the minimum.
|
|
4284
|
+
*
|
|
4285
|
+
* Default value is `-1`.
|
|
4286
|
+
*
|
|
4287
|
+
* @returns Value of property `maxRowCount`
|
|
4288
|
+
*/
|
|
4289
|
+
getMaxRowCount(): int;
|
|
4290
|
+
/**
|
|
4291
|
+
* Gets current value of property {@link #getMinRowCount minRowCount}.
|
|
4292
|
+
*
|
|
4293
|
+
* The minimum number of displayed rows.
|
|
4294
|
+
*
|
|
4295
|
+
* Default value is `5`.
|
|
4296
|
+
*
|
|
4297
|
+
* @returns Value of property `minRowCount`
|
|
4298
|
+
*/
|
|
4299
|
+
getMinRowCount(): int;
|
|
4300
|
+
/**
|
|
4301
|
+
* Gets current value of property {@link #getRowContentHeight rowContentHeight}.
|
|
4302
|
+
*
|
|
4303
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4304
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4305
|
+
* configuration.
|
|
4306
|
+
*
|
|
4307
|
+
* Default value is `0`.
|
|
4308
|
+
*
|
|
4309
|
+
* @returns Value of property `rowContentHeight`
|
|
4310
|
+
*/
|
|
4311
|
+
getRowContentHeight(): int;
|
|
4312
|
+
/**
|
|
4313
|
+
* Sets a new value for property {@link #getFixedBottomRowCount fixedBottomRowCount}.
|
|
4314
|
+
*
|
|
4315
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4316
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4317
|
+
* rows.
|
|
4318
|
+
*
|
|
4319
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4320
|
+
*
|
|
4321
|
+
* Default value is `0`.
|
|
4322
|
+
*
|
|
4323
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4324
|
+
*/
|
|
4325
|
+
setFixedBottomRowCount(
|
|
4326
|
+
/**
|
|
4327
|
+
* New value for property `fixedBottomRowCount`
|
|
4328
|
+
*/
|
|
4329
|
+
iFixedBottomRowCount?: int
|
|
4330
|
+
): this;
|
|
4331
|
+
/**
|
|
4332
|
+
* Sets a new value for property {@link #getFixedTopRowCount fixedTopRowCount}.
|
|
4333
|
+
*
|
|
4334
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4335
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
4336
|
+
*
|
|
4337
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4338
|
+
*
|
|
4339
|
+
* Default value is `0`.
|
|
4340
|
+
*
|
|
4341
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4342
|
+
*/
|
|
4343
|
+
setFixedTopRowCount(
|
|
4344
|
+
/**
|
|
4345
|
+
* New value for property `fixedTopRowCount`
|
|
4346
|
+
*/
|
|
4347
|
+
iFixedTopRowCount?: int
|
|
4348
|
+
): this;
|
|
4349
|
+
/**
|
|
4350
|
+
* Sets a new value for property {@link #getMaxRowCount maxRowCount}.
|
|
4351
|
+
*
|
|
4352
|
+
* The maximum number of displayed rows. The `minRowCount` is ignored if the maximum is lower than the minimum.
|
|
4353
|
+
*
|
|
4354
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4355
|
+
*
|
|
4356
|
+
* Default value is `-1`.
|
|
4357
|
+
*
|
|
4358
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4359
|
+
*/
|
|
4360
|
+
setMaxRowCount(
|
|
4361
|
+
/**
|
|
4362
|
+
* New value for property `maxRowCount`
|
|
4363
|
+
*/
|
|
4364
|
+
iMaxRowCount?: int
|
|
4365
|
+
): this;
|
|
4366
|
+
/**
|
|
4367
|
+
* Sets a new value for property {@link #getMinRowCount minRowCount}.
|
|
4368
|
+
*
|
|
4369
|
+
* The minimum number of displayed rows.
|
|
4370
|
+
*
|
|
4371
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4372
|
+
*
|
|
4373
|
+
* Default value is `5`.
|
|
4374
|
+
*
|
|
4375
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4376
|
+
*/
|
|
4377
|
+
setMinRowCount(
|
|
4378
|
+
/**
|
|
4379
|
+
* New value for property `minRowCount`
|
|
4380
|
+
*/
|
|
4381
|
+
iMinRowCount?: int
|
|
4382
|
+
): this;
|
|
4383
|
+
/**
|
|
4384
|
+
* Sets a new value for property {@link #getRowContentHeight rowContentHeight}.
|
|
4385
|
+
*
|
|
4386
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4387
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4388
|
+
* configuration.
|
|
4389
|
+
*
|
|
4390
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4391
|
+
*
|
|
4392
|
+
* Default value is `0`.
|
|
4393
|
+
*
|
|
4394
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4395
|
+
*/
|
|
4396
|
+
setRowContentHeight(
|
|
4397
|
+
/**
|
|
4398
|
+
* New value for property `rowContentHeight`
|
|
4399
|
+
*/
|
|
4400
|
+
iRowContentHeight?: int
|
|
4401
|
+
): this;
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
export interface $AutoSettings extends $RowModeSettings {
|
|
4405
|
+
/**
|
|
4406
|
+
* The minimum number of displayed rows.
|
|
4407
|
+
*/
|
|
4408
|
+
minRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
4409
|
+
|
|
4410
|
+
/**
|
|
4411
|
+
* The maximum number of displayed rows. The `minRowCount` is ignored if the maximum is lower than the minimum.
|
|
4412
|
+
*/
|
|
4413
|
+
maxRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
4414
|
+
|
|
4415
|
+
/**
|
|
4416
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4417
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
4418
|
+
*/
|
|
4419
|
+
fixedTopRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
4420
|
+
|
|
4421
|
+
/**
|
|
4422
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4423
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4424
|
+
* rows.
|
|
4425
|
+
*/
|
|
4426
|
+
fixedBottomRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
4427
|
+
|
|
4428
|
+
/**
|
|
4429
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4430
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4431
|
+
* configuration.
|
|
4432
|
+
*/
|
|
4433
|
+
rowContentHeight?: int | PropertyBindingInfo | `{${string}}`;
|
|
4434
|
+
}
|
|
4435
|
+
}
|
|
4436
|
+
|
|
4437
|
+
declare module "sap/ui/table/rowmodes/Fixed" {
|
|
4438
|
+
import {
|
|
4439
|
+
default as RowMode,
|
|
4440
|
+
$RowModeSettings,
|
|
4441
|
+
} from "sap/ui/table/rowmodes/RowMode";
|
|
4442
|
+
|
|
4443
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4444
|
+
|
|
4445
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
4446
|
+
|
|
4447
|
+
/**
|
|
4448
|
+
* @since 1.119
|
|
4449
|
+
*
|
|
4450
|
+
* A fixed number of rows is displayed in the table.
|
|
4451
|
+
*/
|
|
4452
|
+
export default class Fixed extends RowMode {
|
|
4453
|
+
/**
|
|
4454
|
+
* Constructor for a new `Fixed` row mode.
|
|
4455
|
+
*
|
|
4456
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4457
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4458
|
+
* of the syntax of the settings object.
|
|
4459
|
+
*/
|
|
4460
|
+
constructor(
|
|
4461
|
+
/**
|
|
4462
|
+
* initial settings for the new control
|
|
4463
|
+
*/
|
|
4464
|
+
mSettings?: $FixedSettings
|
|
4465
|
+
);
|
|
4466
|
+
/**
|
|
4467
|
+
* Constructor for a new `Fixed` row mode.
|
|
4468
|
+
*
|
|
4469
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4470
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4471
|
+
* of the syntax of the settings object.
|
|
4472
|
+
*/
|
|
4473
|
+
constructor(
|
|
4474
|
+
/**
|
|
4475
|
+
* id for the new control, generated automatically if no id is given
|
|
4476
|
+
*/
|
|
4477
|
+
sId?: string,
|
|
4478
|
+
/**
|
|
4479
|
+
* initial settings for the new control
|
|
4480
|
+
*/
|
|
4481
|
+
mSettings?: $FixedSettings
|
|
4482
|
+
);
|
|
4483
|
+
|
|
4484
|
+
/**
|
|
4485
|
+
* Creates a new subclass of class sap.ui.table.rowmodes.Fixed with name `sClassName` and enriches it with
|
|
4486
|
+
* the information contained in `oClassInfo`.
|
|
4487
|
+
*
|
|
4488
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.table.rowmodes.RowMode.extend}.
|
|
4489
|
+
*
|
|
4490
|
+
* @returns Created class / constructor function
|
|
4491
|
+
*/
|
|
4492
|
+
static extend<T extends Record<string, unknown>>(
|
|
4493
|
+
/**
|
|
4494
|
+
* Name of the class being created
|
|
4495
|
+
*/
|
|
4496
|
+
sClassName: string,
|
|
4497
|
+
/**
|
|
4498
|
+
* Object literal with information about the class
|
|
4499
|
+
*/
|
|
4500
|
+
oClassInfo?: sap.ClassInfo<T, Fixed>,
|
|
4501
|
+
/**
|
|
4502
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
4503
|
+
* used by this class
|
|
4504
|
+
*/
|
|
4505
|
+
FNMetaImpl?: Function
|
|
4506
|
+
): Function;
|
|
4507
|
+
/**
|
|
4508
|
+
* Returns a metadata object for class sap.ui.table.rowmodes.Fixed.
|
|
4509
|
+
*
|
|
4510
|
+
* @returns Metadata object describing this class
|
|
4511
|
+
*/
|
|
4512
|
+
static getMetadata(): ElementMetadata;
|
|
4513
|
+
/**
|
|
4514
|
+
* Gets current value of property {@link #getFixedBottomRowCount fixedBottomRowCount}.
|
|
4515
|
+
*
|
|
4516
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4517
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4518
|
+
* rows.
|
|
4519
|
+
*
|
|
4520
|
+
* Default value is `0`.
|
|
4521
|
+
*
|
|
4522
|
+
* @returns Value of property `fixedBottomRowCount`
|
|
4523
|
+
*/
|
|
4524
|
+
getFixedBottomRowCount(): int;
|
|
4525
|
+
/**
|
|
4526
|
+
* Gets current value of property {@link #getFixedTopRowCount fixedTopRowCount}.
|
|
4527
|
+
*
|
|
4528
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4529
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
4530
|
+
*
|
|
4531
|
+
* Default value is `0`.
|
|
4532
|
+
*
|
|
4533
|
+
* @returns Value of property `fixedTopRowCount`
|
|
4534
|
+
*/
|
|
4535
|
+
getFixedTopRowCount(): int;
|
|
4536
|
+
/**
|
|
4537
|
+
* Gets current value of property {@link #getRowContentHeight rowContentHeight}.
|
|
4538
|
+
*
|
|
4539
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4540
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4541
|
+
* configuration.
|
|
4542
|
+
*
|
|
4543
|
+
* Default value is `0`.
|
|
4544
|
+
*
|
|
4545
|
+
* @returns Value of property `rowContentHeight`
|
|
4546
|
+
*/
|
|
4547
|
+
getRowContentHeight(): int;
|
|
4548
|
+
/**
|
|
4549
|
+
* Gets current value of property {@link #getRowCount rowCount}.
|
|
4550
|
+
*
|
|
4551
|
+
* The number of rows displayed in the table. The number of rows in the scrollable area is reduced by the
|
|
4552
|
+
* number of fixed rows.
|
|
4553
|
+
*
|
|
4554
|
+
* Default value is `10`.
|
|
4555
|
+
*
|
|
4556
|
+
* @returns Value of property `rowCount`
|
|
4557
|
+
*/
|
|
4558
|
+
getRowCount(): int;
|
|
4559
|
+
/**
|
|
4560
|
+
* Sets a new value for property {@link #getFixedBottomRowCount fixedBottomRowCount}.
|
|
4561
|
+
*
|
|
4562
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4563
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4564
|
+
* rows.
|
|
4565
|
+
*
|
|
4566
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4567
|
+
*
|
|
4568
|
+
* Default value is `0`.
|
|
4569
|
+
*
|
|
4570
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4571
|
+
*/
|
|
4572
|
+
setFixedBottomRowCount(
|
|
4573
|
+
/**
|
|
4574
|
+
* New value for property `fixedBottomRowCount`
|
|
4575
|
+
*/
|
|
4576
|
+
iFixedBottomRowCount?: int
|
|
4577
|
+
): this;
|
|
4578
|
+
/**
|
|
4579
|
+
* Sets a new value for property {@link #getFixedTopRowCount fixedTopRowCount}.
|
|
4580
|
+
*
|
|
4581
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4582
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
4583
|
+
*
|
|
4584
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4585
|
+
*
|
|
4586
|
+
* Default value is `0`.
|
|
4587
|
+
*
|
|
4588
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4589
|
+
*/
|
|
4590
|
+
setFixedTopRowCount(
|
|
4591
|
+
/**
|
|
4592
|
+
* New value for property `fixedTopRowCount`
|
|
4593
|
+
*/
|
|
4594
|
+
iFixedTopRowCount?: int
|
|
4595
|
+
): this;
|
|
4596
|
+
/**
|
|
4597
|
+
* Sets a new value for property {@link #getRowContentHeight rowContentHeight}.
|
|
4598
|
+
*
|
|
4599
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4600
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4601
|
+
* configuration.
|
|
4602
|
+
*
|
|
4603
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4604
|
+
*
|
|
4605
|
+
* Default value is `0`.
|
|
4606
|
+
*
|
|
4607
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4608
|
+
*/
|
|
4609
|
+
setRowContentHeight(
|
|
4610
|
+
/**
|
|
4611
|
+
* New value for property `rowContentHeight`
|
|
4612
|
+
*/
|
|
4613
|
+
iRowContentHeight?: int
|
|
4614
|
+
): this;
|
|
4615
|
+
/**
|
|
4616
|
+
* Sets a new value for property {@link #getRowCount rowCount}.
|
|
4617
|
+
*
|
|
4618
|
+
* The number of rows displayed in the table. The number of rows in the scrollable area is reduced by the
|
|
4619
|
+
* number of fixed rows.
|
|
4620
|
+
*
|
|
4621
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4622
|
+
*
|
|
4623
|
+
* Default value is `10`.
|
|
4624
|
+
*
|
|
4625
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4626
|
+
*/
|
|
4627
|
+
setRowCount(
|
|
4628
|
+
/**
|
|
4629
|
+
* New value for property `rowCount`
|
|
4630
|
+
*/
|
|
4631
|
+
iRowCount?: int
|
|
4632
|
+
): this;
|
|
4633
|
+
}
|
|
4634
|
+
|
|
4635
|
+
export interface $FixedSettings extends $RowModeSettings {
|
|
4636
|
+
/**
|
|
4637
|
+
* The number of rows displayed in the table. The number of rows in the scrollable area is reduced by the
|
|
4638
|
+
* number of fixed rows.
|
|
4639
|
+
*/
|
|
4640
|
+
rowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
4641
|
+
|
|
4642
|
+
/**
|
|
4643
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4644
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
4645
|
+
*/
|
|
4646
|
+
fixedTopRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
4647
|
+
|
|
4648
|
+
/**
|
|
4649
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4650
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4651
|
+
* rows.
|
|
4652
|
+
*/
|
|
4653
|
+
fixedBottomRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
4654
|
+
|
|
4655
|
+
/**
|
|
4656
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4657
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4658
|
+
* configuration.
|
|
4659
|
+
*/
|
|
4660
|
+
rowContentHeight?: int | PropertyBindingInfo | `{${string}}`;
|
|
4661
|
+
}
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4664
|
+
declare module "sap/ui/table/rowmodes/Interactive" {
|
|
4665
|
+
import {
|
|
4666
|
+
default as RowMode,
|
|
4667
|
+
$RowModeSettings,
|
|
4668
|
+
} from "sap/ui/table/rowmodes/RowMode";
|
|
4669
|
+
|
|
4670
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4671
|
+
|
|
4672
|
+
import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
|
|
4673
|
+
|
|
4674
|
+
/**
|
|
4675
|
+
* @since 1.119
|
|
4676
|
+
*
|
|
4677
|
+
* The user can change the number of displayed rows by dragging a resizer.
|
|
4678
|
+
*/
|
|
4679
|
+
export default class Interactive extends RowMode {
|
|
4680
|
+
/**
|
|
4681
|
+
* Constructor for a new `Interactive` row mode.
|
|
4682
|
+
*
|
|
4683
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4684
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4685
|
+
* of the syntax of the settings object.
|
|
4686
|
+
*/
|
|
4687
|
+
constructor(
|
|
4688
|
+
/**
|
|
4689
|
+
* initial settings for the new control
|
|
4690
|
+
*/
|
|
4691
|
+
mSettings?: $InteractiveSettings
|
|
4692
|
+
);
|
|
4693
|
+
/**
|
|
4694
|
+
* Constructor for a new `Interactive` row mode.
|
|
4695
|
+
*
|
|
4696
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4697
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4698
|
+
* of the syntax of the settings object.
|
|
4699
|
+
*/
|
|
4700
|
+
constructor(
|
|
4701
|
+
/**
|
|
4702
|
+
* id for the new control, generated automatically if no id is given
|
|
4703
|
+
*/
|
|
4704
|
+
sId?: string,
|
|
3838
4705
|
/**
|
|
3839
|
-
*
|
|
4706
|
+
* initial settings for the new control
|
|
3840
4707
|
*/
|
|
3841
|
-
|
|
3842
|
-
)
|
|
4708
|
+
mSettings?: $InteractiveSettings
|
|
4709
|
+
);
|
|
4710
|
+
|
|
3843
4711
|
/**
|
|
3844
|
-
*
|
|
4712
|
+
* Returns a metadata object for class sap.ui.table.rowmodes.Interactive.
|
|
3845
4713
|
*
|
|
3846
|
-
*
|
|
4714
|
+
* @returns Metadata object describing this class
|
|
4715
|
+
*/
|
|
4716
|
+
static getMetadata(): ElementMetadata;
|
|
4717
|
+
/**
|
|
4718
|
+
* Gets current value of property {@link #getFixedBottomRowCount fixedBottomRowCount}.
|
|
3847
4719
|
*
|
|
3848
|
-
*
|
|
4720
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4721
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4722
|
+
* rows.
|
|
4723
|
+
*
|
|
4724
|
+
* Default value is `0`.
|
|
4725
|
+
*
|
|
4726
|
+
* @returns Value of property `fixedBottomRowCount`
|
|
3849
4727
|
*/
|
|
3850
|
-
|
|
3851
|
-
/**
|
|
3852
|
-
* The function to be called, when the event occurs
|
|
3853
|
-
*/
|
|
3854
|
-
fnFunction: (p1: RowActionItem$PressEvent) => void,
|
|
3855
|
-
/**
|
|
3856
|
-
* Context object on which the given function had to be called
|
|
3857
|
-
*/
|
|
3858
|
-
oListener?: object
|
|
3859
|
-
): this;
|
|
4728
|
+
getFixedBottomRowCount(): int;
|
|
3860
4729
|
/**
|
|
3861
|
-
*
|
|
4730
|
+
* Gets current value of property {@link #getFixedTopRowCount fixedTopRowCount}.
|
|
3862
4731
|
*
|
|
3863
|
-
*
|
|
4732
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4733
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
3864
4734
|
*
|
|
3865
|
-
*
|
|
4735
|
+
* Default value is `0`.
|
|
4736
|
+
*
|
|
4737
|
+
* @returns Value of property `fixedTopRowCount`
|
|
3866
4738
|
*/
|
|
3867
|
-
|
|
3868
|
-
/**
|
|
3869
|
-
* Parameters to pass along with the event
|
|
3870
|
-
*/
|
|
3871
|
-
mParameters?: RowActionItem$PressEventParameters
|
|
3872
|
-
): this;
|
|
4739
|
+
getFixedTopRowCount(): int;
|
|
3873
4740
|
/**
|
|
3874
|
-
* Gets current value of property {@link #
|
|
4741
|
+
* Gets current value of property {@link #getMinRowCount minRowCount}.
|
|
3875
4742
|
*
|
|
3876
|
-
* The
|
|
4743
|
+
* The minimum number of displayed rows.
|
|
3877
4744
|
*
|
|
3878
|
-
*
|
|
4745
|
+
* Default value is `5`.
|
|
4746
|
+
*
|
|
4747
|
+
* @returns Value of property `minRowCount`
|
|
3879
4748
|
*/
|
|
3880
|
-
|
|
4749
|
+
getMinRowCount(): int;
|
|
3881
4750
|
/**
|
|
3882
|
-
* Gets current value of property {@link #
|
|
4751
|
+
* Gets current value of property {@link #getRowContentHeight rowContentHeight}.
|
|
3883
4752
|
*
|
|
3884
|
-
* The
|
|
4753
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4754
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4755
|
+
* configuration.
|
|
3885
4756
|
*
|
|
3886
|
-
* Default value is `
|
|
4757
|
+
* Default value is `0`.
|
|
3887
4758
|
*
|
|
3888
|
-
* @returns Value of property `
|
|
4759
|
+
* @returns Value of property `rowContentHeight`
|
|
3889
4760
|
*/
|
|
3890
|
-
|
|
4761
|
+
getRowContentHeight(): int;
|
|
3891
4762
|
/**
|
|
3892
|
-
* Gets current value of property {@link #
|
|
4763
|
+
* Gets current value of property {@link #getRowCount rowCount}.
|
|
3893
4764
|
*
|
|
3894
|
-
* The
|
|
3895
|
-
*
|
|
4765
|
+
* The number of rows displayed in the table. The number of rows in the scrollable area is reduced by the
|
|
4766
|
+
* number of fixed rows.
|
|
3896
4767
|
*
|
|
3897
|
-
* Default value is `
|
|
4768
|
+
* Default value is `10`.
|
|
3898
4769
|
*
|
|
3899
|
-
* @returns Value of property `
|
|
4770
|
+
* @returns Value of property `rowCount`
|
|
3900
4771
|
*/
|
|
3901
|
-
|
|
4772
|
+
getRowCount(): int;
|
|
3902
4773
|
/**
|
|
3903
|
-
*
|
|
4774
|
+
* Sets a new value for property {@link #getFixedBottomRowCount fixedBottomRowCount}.
|
|
3904
4775
|
*
|
|
3905
|
-
*
|
|
4776
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4777
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4778
|
+
* rows.
|
|
3906
4779
|
*
|
|
3907
|
-
*
|
|
4780
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3908
4781
|
*
|
|
3909
|
-
*
|
|
4782
|
+
* Default value is `0`.
|
|
4783
|
+
*
|
|
4784
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
3910
4785
|
*/
|
|
3911
|
-
|
|
4786
|
+
setFixedBottomRowCount(
|
|
4787
|
+
/**
|
|
4788
|
+
* New value for property `fixedBottomRowCount`
|
|
4789
|
+
*/
|
|
4790
|
+
iFixedBottomRowCount?: int
|
|
4791
|
+
): this;
|
|
3912
4792
|
/**
|
|
3913
|
-
* Sets a new value for property {@link #
|
|
4793
|
+
* Sets a new value for property {@link #getFixedTopRowCount fixedTopRowCount}.
|
|
3914
4794
|
*
|
|
3915
|
-
* The
|
|
4795
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4796
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
3916
4797
|
*
|
|
3917
4798
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3918
4799
|
*
|
|
4800
|
+
* Default value is `0`.
|
|
4801
|
+
*
|
|
3919
4802
|
* @returns Reference to `this` in order to allow method chaining
|
|
3920
4803
|
*/
|
|
3921
|
-
|
|
4804
|
+
setFixedTopRowCount(
|
|
3922
4805
|
/**
|
|
3923
|
-
* New value for property `
|
|
4806
|
+
* New value for property `fixedTopRowCount`
|
|
3924
4807
|
*/
|
|
3925
|
-
|
|
4808
|
+
iFixedTopRowCount?: int
|
|
3926
4809
|
): this;
|
|
3927
4810
|
/**
|
|
3928
|
-
* Sets a new value for property {@link #
|
|
4811
|
+
* Sets a new value for property {@link #getMinRowCount minRowCount}.
|
|
3929
4812
|
*
|
|
3930
|
-
* The
|
|
4813
|
+
* The minimum number of displayed rows.
|
|
3931
4814
|
*
|
|
3932
4815
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3933
4816
|
*
|
|
3934
|
-
* Default value is `
|
|
4817
|
+
* Default value is `5`.
|
|
3935
4818
|
*
|
|
3936
4819
|
* @returns Reference to `this` in order to allow method chaining
|
|
3937
4820
|
*/
|
|
3938
|
-
|
|
4821
|
+
setMinRowCount(
|
|
3939
4822
|
/**
|
|
3940
|
-
* New value for property `
|
|
4823
|
+
* New value for property `minRowCount`
|
|
3941
4824
|
*/
|
|
3942
|
-
|
|
4825
|
+
iMinRowCount?: int
|
|
3943
4826
|
): this;
|
|
3944
4827
|
/**
|
|
3945
|
-
* Sets a new value for property {@link #
|
|
4828
|
+
* Sets a new value for property {@link #getRowContentHeight rowContentHeight}.
|
|
3946
4829
|
*
|
|
3947
|
-
* The
|
|
3948
|
-
*
|
|
4830
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4831
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4832
|
+
* configuration.
|
|
3949
4833
|
*
|
|
3950
4834
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3951
4835
|
*
|
|
3952
|
-
* Default value is `
|
|
4836
|
+
* Default value is `0`.
|
|
3953
4837
|
*
|
|
3954
4838
|
* @returns Reference to `this` in order to allow method chaining
|
|
3955
4839
|
*/
|
|
3956
|
-
|
|
4840
|
+
setRowContentHeight(
|
|
3957
4841
|
/**
|
|
3958
|
-
* New value for property `
|
|
4842
|
+
* New value for property `rowContentHeight`
|
|
3959
4843
|
*/
|
|
3960
|
-
|
|
4844
|
+
iRowContentHeight?: int
|
|
3961
4845
|
): this;
|
|
3962
4846
|
/**
|
|
3963
|
-
* Sets a new value for property {@link #
|
|
4847
|
+
* Sets a new value for property {@link #getRowCount rowCount}.
|
|
3964
4848
|
*
|
|
3965
|
-
*
|
|
4849
|
+
* The number of rows displayed in the table. The number of rows in the scrollable area is reduced by the
|
|
4850
|
+
* number of fixed rows.
|
|
3966
4851
|
*
|
|
3967
4852
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
3968
4853
|
*
|
|
3969
|
-
* Default value is `
|
|
4854
|
+
* Default value is `10`.
|
|
3970
4855
|
*
|
|
3971
4856
|
* @returns Reference to `this` in order to allow method chaining
|
|
3972
4857
|
*/
|
|
3973
|
-
|
|
4858
|
+
setRowCount(
|
|
3974
4859
|
/**
|
|
3975
|
-
* New value for property `
|
|
4860
|
+
* New value for property `rowCount`
|
|
3976
4861
|
*/
|
|
3977
|
-
|
|
4862
|
+
iRowCount?: int
|
|
3978
4863
|
): this;
|
|
3979
4864
|
}
|
|
3980
4865
|
|
|
3981
|
-
export interface $
|
|
4866
|
+
export interface $InteractiveSettings extends $RowModeSettings {
|
|
3982
4867
|
/**
|
|
3983
|
-
* The
|
|
4868
|
+
* The number of rows displayed in the table. The number of rows in the scrollable area is reduced by the
|
|
4869
|
+
* number of fixed rows.
|
|
3984
4870
|
*/
|
|
3985
|
-
|
|
4871
|
+
rowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
3986
4872
|
|
|
3987
4873
|
/**
|
|
3988
|
-
*
|
|
4874
|
+
* The minimum number of displayed rows.
|
|
3989
4875
|
*/
|
|
3990
|
-
|
|
4876
|
+
minRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
3991
4877
|
|
|
3992
4878
|
/**
|
|
3993
|
-
* The
|
|
4879
|
+
* The number of rows in the fixed area at the top. If the number of fixed rows exceeds the number of displayed
|
|
4880
|
+
* rows, the number of fixed rows is reduced. The table may limit the possible number of fixed rows.
|
|
3994
4881
|
*/
|
|
3995
|
-
|
|
4882
|
+
fixedTopRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
3996
4883
|
|
|
3997
4884
|
/**
|
|
3998
|
-
* The
|
|
3999
|
-
*
|
|
4885
|
+
* The number of rows in the fixed area at the bottom. If the number of fixed rows exceeds the number of
|
|
4886
|
+
* displayed rows, the number of fixed rows is reduced. The table may limit the possible number of fixed
|
|
4887
|
+
* rows.
|
|
4000
4888
|
*/
|
|
4001
|
-
|
|
4002
|
-
| (RowActionType | keyof typeof RowActionType)
|
|
4003
|
-
| PropertyBindingInfo
|
|
4004
|
-
| `{${string}}`;
|
|
4889
|
+
fixedBottomRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
4005
4890
|
|
|
4006
4891
|
/**
|
|
4007
|
-
* The
|
|
4892
|
+
* The row content height in pixel. The actual row height is also influenced by other factors, such as the
|
|
4893
|
+
* border width. If no value is set (includes 0), a default height is applied based on the content density
|
|
4894
|
+
* configuration.
|
|
4008
4895
|
*/
|
|
4009
|
-
|
|
4896
|
+
rowContentHeight?: int | PropertyBindingInfo | `{${string}}`;
|
|
4010
4897
|
}
|
|
4898
|
+
}
|
|
4011
4899
|
|
|
4012
|
-
|
|
4900
|
+
declare module "sap/ui/table/rowmodes/RowMode" {
|
|
4901
|
+
import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
|
|
4902
|
+
|
|
4903
|
+
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
4904
|
+
|
|
4905
|
+
/**
|
|
4906
|
+
* @since 1.119
|
|
4907
|
+
*
|
|
4908
|
+
* Base class for row modes. Note: Do not create subclasses.
|
|
4909
|
+
*/
|
|
4910
|
+
export default class RowMode extends UI5Element {
|
|
4013
4911
|
/**
|
|
4014
|
-
*
|
|
4912
|
+
* Constructor for a new `RowMode`.
|
|
4913
|
+
*
|
|
4914
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4915
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4916
|
+
* of the syntax of the settings object.
|
|
4917
|
+
*
|
|
4918
|
+
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Element#constructor sap.ui.core.Element }
|
|
4919
|
+
* can be used.
|
|
4015
4920
|
*/
|
|
4016
|
-
|
|
4921
|
+
constructor(
|
|
4922
|
+
/**
|
|
4923
|
+
* initial settings for the new control
|
|
4924
|
+
*/
|
|
4925
|
+
mSettings?: $RowModeSettings
|
|
4926
|
+
);
|
|
4927
|
+
/**
|
|
4928
|
+
* Constructor for a new `RowMode`.
|
|
4929
|
+
*
|
|
4930
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
4931
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
4932
|
+
* of the syntax of the settings object.
|
|
4933
|
+
*
|
|
4934
|
+
* This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Element#constructor sap.ui.core.Element }
|
|
4935
|
+
* can be used.
|
|
4936
|
+
*/
|
|
4937
|
+
constructor(
|
|
4938
|
+
/**
|
|
4939
|
+
* id for the new control, generated automatically if no id is given
|
|
4940
|
+
*/
|
|
4941
|
+
sId?: string,
|
|
4942
|
+
/**
|
|
4943
|
+
* initial settings for the new control
|
|
4944
|
+
*/
|
|
4945
|
+
mSettings?: $RowModeSettings
|
|
4946
|
+
);
|
|
4017
4947
|
|
|
4018
4948
|
/**
|
|
4019
|
-
*
|
|
4949
|
+
* Creates a new subclass of class sap.ui.table.rowmodes.RowMode with name `sClassName` and enriches it
|
|
4950
|
+
* with the information contained in `oClassInfo`.
|
|
4951
|
+
*
|
|
4952
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
4953
|
+
*
|
|
4954
|
+
* @returns Created class / constructor function
|
|
4020
4955
|
*/
|
|
4021
|
-
|
|
4956
|
+
static extend<T extends Record<string, unknown>>(
|
|
4957
|
+
/**
|
|
4958
|
+
* Name of the class being created
|
|
4959
|
+
*/
|
|
4960
|
+
sClassName: string,
|
|
4961
|
+
/**
|
|
4962
|
+
* Object literal with information about the class
|
|
4963
|
+
*/
|
|
4964
|
+
oClassInfo?: sap.ClassInfo<T, RowMode>,
|
|
4965
|
+
/**
|
|
4966
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
4967
|
+
* used by this class
|
|
4968
|
+
*/
|
|
4969
|
+
FNMetaImpl?: Function
|
|
4970
|
+
): Function;
|
|
4971
|
+
/**
|
|
4972
|
+
* Returns a metadata object for class sap.ui.table.rowmodes.RowMode.
|
|
4973
|
+
*
|
|
4974
|
+
* @returns Metadata object describing this class
|
|
4975
|
+
*/
|
|
4976
|
+
static getMetadata(): ElementMetadata;
|
|
4022
4977
|
}
|
|
4023
4978
|
|
|
4024
|
-
export
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4979
|
+
export interface $RowModeSettings extends $ElementSettings {}
|
|
4980
|
+
}
|
|
4981
|
+
|
|
4982
|
+
declare module "sap/ui/table/rowmodes/Type" {
|
|
4983
|
+
/**
|
|
4984
|
+
* @since 1.119
|
|
4985
|
+
*
|
|
4986
|
+
* Defines the row mode.
|
|
4987
|
+
*/
|
|
4988
|
+
enum Type {
|
|
4989
|
+
/**
|
|
4990
|
+
* Equivalent to the default configuration of {@link module:sap/ui/table/rowmodes/Auto}
|
|
4991
|
+
*/
|
|
4992
|
+
Auto = "Auto",
|
|
4993
|
+
/**
|
|
4994
|
+
* Equivalent to the default configuration of {@link module:sap/ui/table/rowmodes/Fixed}
|
|
4995
|
+
*/
|
|
4996
|
+
Fixed = "Fixed",
|
|
4997
|
+
/**
|
|
4998
|
+
* Equivalent to the default configuration of {@link module:sap/ui/table/rowmodes/Interactive}
|
|
4999
|
+
*/
|
|
5000
|
+
Interactive = "Interactive",
|
|
5001
|
+
}
|
|
5002
|
+
export default Type;
|
|
4028
5003
|
}
|
|
4029
5004
|
|
|
4030
5005
|
declare module "sap/ui/table/RowSettings" {
|
|
@@ -4300,6 +5275,10 @@ declare module "sap/ui/table/Table" {
|
|
|
4300
5275
|
|
|
4301
5276
|
import RowAction from "sap/ui/table/RowAction";
|
|
4302
5277
|
|
|
5278
|
+
import RowMode from "sap/ui/table/rowmodes/RowMode";
|
|
5279
|
+
|
|
5280
|
+
import Type from "sap/ui/table/rowmodes/Type";
|
|
5281
|
+
|
|
4303
5282
|
import RowSettings from "sap/ui/table/RowSettings";
|
|
4304
5283
|
|
|
4305
5284
|
import TooltipBase from "sap/ui/core/TooltipBase";
|
|
@@ -5053,6 +6032,8 @@ declare module "sap/ui/table/Table" {
|
|
|
5053
6032
|
oListener?: object
|
|
5054
6033
|
): this;
|
|
5055
6034
|
/**
|
|
6035
|
+
* @deprecated (since 1.118)
|
|
6036
|
+
*
|
|
5056
6037
|
* Attaches event handler `fnFunction` to the {@link #event:group group} event of this `sap.ui.table.Table`.
|
|
5057
6038
|
*
|
|
5058
6039
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -5078,6 +6059,8 @@ declare module "sap/ui/table/Table" {
|
|
|
5078
6059
|
oListener?: object
|
|
5079
6060
|
): this;
|
|
5080
6061
|
/**
|
|
6062
|
+
* @deprecated (since 1.118)
|
|
6063
|
+
*
|
|
5081
6064
|
* Attaches event handler `fnFunction` to the {@link #event:group group} event of this `sap.ui.table.Table`.
|
|
5082
6065
|
*
|
|
5083
6066
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -5399,6 +6382,14 @@ declare module "sap/ui/table/Table" {
|
|
|
5399
6382
|
* @returns Reference to `this` in order to allow method chaining
|
|
5400
6383
|
*/
|
|
5401
6384
|
destroyRowActionTemplate(): this;
|
|
6385
|
+
/**
|
|
6386
|
+
* @since 1.119
|
|
6387
|
+
*
|
|
6388
|
+
* Destroys the rowMode in the aggregation {@link #getRowMode rowMode}.
|
|
6389
|
+
*
|
|
6390
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
6391
|
+
*/
|
|
6392
|
+
destroyRowMode(): this;
|
|
5402
6393
|
/**
|
|
5403
6394
|
* Destroys all the rows in the aggregation {@link #getRows rows}.
|
|
5404
6395
|
*
|
|
@@ -5654,6 +6645,8 @@ declare module "sap/ui/table/Table" {
|
|
|
5654
6645
|
oListener?: object
|
|
5655
6646
|
): this;
|
|
5656
6647
|
/**
|
|
6648
|
+
* @deprecated (since 1.118)
|
|
6649
|
+
*
|
|
5657
6650
|
* Detaches event handler `fnFunction` from the {@link #event:group group} event of this `sap.ui.table.Table`.
|
|
5658
6651
|
*
|
|
5659
6652
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -5969,6 +6962,7 @@ declare module "sap/ui/table/Table" {
|
|
|
5969
6962
|
mParameters?: Table$FirstVisibleRowChangedEventParameters
|
|
5970
6963
|
): this;
|
|
5971
6964
|
/**
|
|
6965
|
+
* @deprecated (since 1.118)
|
|
5972
6966
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
5973
6967
|
*
|
|
5974
6968
|
* Fires event {@link #event:group group} to attached listeners.
|
|
@@ -6128,14 +7122,14 @@ declare module "sap/ui/table/Table" {
|
|
|
6128
7122
|
getColumns(): Column[];
|
|
6129
7123
|
/**
|
|
6130
7124
|
* Returns the context of a row by its index. Please note that for server-based models like OData, the supplied
|
|
6131
|
-
* index might not have been loaded yet. If the context is not available at the client, the binding
|
|
7125
|
+
* index might not have been loaded yet. If the context is not available at the client, the binding may
|
|
6132
7126
|
* trigger a backend request and request this single context. Although this API looks synchronous it may
|
|
6133
7127
|
* not return a context but load it and fire a change event on the binding.
|
|
6134
7128
|
*
|
|
6135
7129
|
* For server-based models you should consider to only make this API call when the index is within the currently
|
|
6136
7130
|
* visible scroll area.
|
|
6137
7131
|
*
|
|
6138
|
-
* @returns The context at this index
|
|
7132
|
+
* @returns The context at this index if available
|
|
6139
7133
|
*/
|
|
6140
7134
|
getContextByIndex(
|
|
6141
7135
|
/**
|
|
@@ -6311,14 +7305,13 @@ declare module "sap/ui/table/Table" {
|
|
|
6311
7305
|
getFirstVisibleRow(): int;
|
|
6312
7306
|
/**
|
|
6313
7307
|
* @since 1.18.7
|
|
7308
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
6314
7309
|
*
|
|
6315
7310
|
* Gets current value of property {@link #getFixedBottomRowCount fixedBottomRowCount}.
|
|
6316
7311
|
*
|
|
6317
7312
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
6318
7313
|
* not fixed, will scroll.
|
|
6319
7314
|
*
|
|
6320
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
6321
|
-
*
|
|
6322
7315
|
* Default value is `0`.
|
|
6323
7316
|
*
|
|
6324
7317
|
* @returns Value of property `fixedBottomRowCount`
|
|
@@ -6341,13 +7334,13 @@ declare module "sap/ui/table/Table" {
|
|
|
6341
7334
|
*/
|
|
6342
7335
|
getFixedColumnCount(): int;
|
|
6343
7336
|
/**
|
|
7337
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
7338
|
+
*
|
|
6344
7339
|
* Gets current value of property {@link #getFixedRowCount fixedRowCount}.
|
|
6345
7340
|
*
|
|
6346
7341
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
6347
7342
|
* fixed, will scroll.
|
|
6348
7343
|
*
|
|
6349
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
6350
|
-
*
|
|
6351
7344
|
* Default value is `0`.
|
|
6352
7345
|
*
|
|
6353
7346
|
* @returns Value of property `fixedRowCount`
|
|
@@ -6356,16 +7349,21 @@ declare module "sap/ui/table/Table" {
|
|
|
6356
7349
|
/**
|
|
6357
7350
|
* Gets content of aggregation {@link #getFooter footer}.
|
|
6358
7351
|
*
|
|
6359
|
-
* Control or text of footer section of the Table (if not set it will be hidden)
|
|
7352
|
+
* Control or text of footer section of the Table (if not set it will be hidden).
|
|
7353
|
+
*
|
|
7354
|
+
* **Note:** The `altType` string is deprecated as of version 1.118. Use a `Control` instead.
|
|
6360
7355
|
*/
|
|
6361
7356
|
getFooter(): Control | string;
|
|
6362
7357
|
/**
|
|
7358
|
+
* @deprecated (since 1.110)
|
|
6363
7359
|
* @experimental (since 1.28) - This feature has a limited functionality.
|
|
6364
7360
|
*
|
|
6365
7361
|
* ID of the element which is the current target of the association {@link #getGroupBy groupBy}, or `null`.
|
|
6366
7362
|
*/
|
|
6367
7363
|
getGroupBy(): ID;
|
|
6368
7364
|
/**
|
|
7365
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
7366
|
+
*
|
|
6369
7367
|
* Gets current value of property {@link #getMinAutoRowCount minAutoRowCount}.
|
|
6370
7368
|
*
|
|
6371
7369
|
* This property is used to set the minimum count of visible rows when the property visibleRowCountMode
|
|
@@ -6432,6 +7430,8 @@ declare module "sap/ui/table/Table" {
|
|
|
6432
7430
|
*/
|
|
6433
7431
|
getRowActionTemplate(): RowAction;
|
|
6434
7432
|
/**
|
|
7433
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
7434
|
+
*
|
|
6435
7435
|
* Gets current value of property {@link #getRowHeight rowHeight}.
|
|
6436
7436
|
*
|
|
6437
7437
|
* Row height in pixel.
|
|
@@ -6451,6 +7451,14 @@ declare module "sap/ui/table/Table" {
|
|
|
6451
7451
|
* @returns Value of property `rowHeight`
|
|
6452
7452
|
*/
|
|
6453
7453
|
getRowHeight(): int;
|
|
7454
|
+
/**
|
|
7455
|
+
* @since 1.119
|
|
7456
|
+
*
|
|
7457
|
+
* Gets content of aggregation {@link #getRowMode rowMode}.
|
|
7458
|
+
*
|
|
7459
|
+
* Defines how the table handles the rows.
|
|
7460
|
+
*/
|
|
7461
|
+
getRowMode(): RowMode | (Type | keyof typeof Type);
|
|
6454
7462
|
/**
|
|
6455
7463
|
* Gets content of aggregation {@link #getRows rows}.
|
|
6456
7464
|
*
|
|
@@ -6605,6 +7613,8 @@ declare module "sap/ui/table/Table" {
|
|
|
6605
7613
|
*/
|
|
6606
7614
|
getToolbar(): Toolbar;
|
|
6607
7615
|
/**
|
|
7616
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
7617
|
+
*
|
|
6608
7618
|
* Gets current value of property {@link #getVisibleRowCount visibleRowCount}.
|
|
6609
7619
|
*
|
|
6610
7620
|
* Number of visible rows of the table.
|
|
@@ -6616,6 +7626,7 @@ declare module "sap/ui/table/Table" {
|
|
|
6616
7626
|
getVisibleRowCount(): int;
|
|
6617
7627
|
/**
|
|
6618
7628
|
* @since 1.9.2
|
|
7629
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
6619
7630
|
*
|
|
6620
7631
|
* Gets current value of property {@link #getVisibleRowCountMode visibleRowCountMode}.
|
|
6621
7632
|
*
|
|
@@ -7167,14 +8178,13 @@ declare module "sap/ui/table/Table" {
|
|
|
7167
8178
|
): this;
|
|
7168
8179
|
/**
|
|
7169
8180
|
* @since 1.18.7
|
|
8181
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
7170
8182
|
*
|
|
7171
8183
|
* Sets a new value for property {@link #getFixedBottomRowCount fixedBottomRowCount}.
|
|
7172
8184
|
*
|
|
7173
8185
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
7174
8186
|
* not fixed, will scroll.
|
|
7175
8187
|
*
|
|
7176
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7177
|
-
*
|
|
7178
8188
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7179
8189
|
*
|
|
7180
8190
|
* Default value is `0`.
|
|
@@ -7211,13 +8221,13 @@ declare module "sap/ui/table/Table" {
|
|
|
7211
8221
|
iFixedColumnCount?: int
|
|
7212
8222
|
): this;
|
|
7213
8223
|
/**
|
|
8224
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
8225
|
+
*
|
|
7214
8226
|
* Sets a new value for property {@link #getFixedRowCount fixedRowCount}.
|
|
7215
8227
|
*
|
|
7216
8228
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
7217
8229
|
* fixed, will scroll.
|
|
7218
8230
|
*
|
|
7219
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7220
|
-
*
|
|
7221
8231
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
7222
8232
|
*
|
|
7223
8233
|
* Default value is `0`.
|
|
@@ -7242,6 +8252,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7242
8252
|
vFooter: Control | string
|
|
7243
8253
|
): this;
|
|
7244
8254
|
/**
|
|
8255
|
+
* @deprecated (since 1.110)
|
|
7245
8256
|
* @experimental (since 1.28) - This feature has a limited functionality.
|
|
7246
8257
|
*
|
|
7247
8258
|
* Sets the associated {@link #getGroupBy groupBy}.
|
|
@@ -7256,6 +8267,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7256
8267
|
oGroupBy: ID | Column
|
|
7257
8268
|
): this;
|
|
7258
8269
|
/**
|
|
8270
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
8271
|
+
*
|
|
7259
8272
|
* Sets a new value for property {@link #getMinAutoRowCount minAutoRowCount}.
|
|
7260
8273
|
*
|
|
7261
8274
|
* This property is used to set the minimum count of visible rows when the property visibleRowCountMode
|
|
@@ -7336,6 +8349,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7336
8349
|
oRowActionTemplate: RowAction
|
|
7337
8350
|
): this;
|
|
7338
8351
|
/**
|
|
8352
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
8353
|
+
*
|
|
7339
8354
|
* Sets a new value for property {@link #getRowHeight rowHeight}.
|
|
7340
8355
|
*
|
|
7341
8356
|
* Row height in pixel.
|
|
@@ -7362,6 +8377,19 @@ declare module "sap/ui/table/Table" {
|
|
|
7362
8377
|
*/
|
|
7363
8378
|
iRowHeight?: int
|
|
7364
8379
|
): this;
|
|
8380
|
+
/**
|
|
8381
|
+
* @since 1.119
|
|
8382
|
+
*
|
|
8383
|
+
* Sets the aggregated {@link #getRowMode rowMode}.
|
|
8384
|
+
*
|
|
8385
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8386
|
+
*/
|
|
8387
|
+
setRowMode(
|
|
8388
|
+
/**
|
|
8389
|
+
* The rowMode to set
|
|
8390
|
+
*/
|
|
8391
|
+
vRowMode: RowMode | (Type | keyof typeof Type)
|
|
8392
|
+
): this;
|
|
7365
8393
|
/**
|
|
7366
8394
|
* Sets the aggregated {@link #getRowSettingsTemplate rowSettingsTemplate}.
|
|
7367
8395
|
*
|
|
@@ -7545,6 +8573,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7545
8573
|
vTooltip: string | TooltipBase
|
|
7546
8574
|
): this;
|
|
7547
8575
|
/**
|
|
8576
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
8577
|
+
*
|
|
7548
8578
|
* Sets a new value for property {@link #getVisibleRowCount visibleRowCount}.
|
|
7549
8579
|
*
|
|
7550
8580
|
* Number of visible rows of the table.
|
|
@@ -7563,6 +8593,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7563
8593
|
): this;
|
|
7564
8594
|
/**
|
|
7565
8595
|
* @since 1.9.2
|
|
8596
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
7566
8597
|
*
|
|
7567
8598
|
* Sets a new value for property {@link #getVisibleRowCountMode visibleRowCountMode}.
|
|
7568
8599
|
*
|
|
@@ -7651,6 +8682,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7651
8682
|
width?: CSSSize | PropertyBindingInfo | `{${string}}`;
|
|
7652
8683
|
|
|
7653
8684
|
/**
|
|
8685
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
8686
|
+
*
|
|
7654
8687
|
* Row height in pixel.
|
|
7655
8688
|
*
|
|
7656
8689
|
* In the table's header, it defines the minimum height of the row, but it cannot be less than the default
|
|
@@ -7687,6 +8720,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7687
8720
|
columnHeaderVisible?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
7688
8721
|
|
|
7689
8722
|
/**
|
|
8723
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
8724
|
+
*
|
|
7690
8725
|
* Number of visible rows of the table.
|
|
7691
8726
|
*/
|
|
7692
8727
|
visibleRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
@@ -7802,6 +8837,7 @@ declare module "sap/ui/table/Table" {
|
|
|
7802
8837
|
|
|
7803
8838
|
/**
|
|
7804
8839
|
* @since 1.9.2
|
|
8840
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
7805
8841
|
*
|
|
7806
8842
|
* Defines how the table handles the visible rows in the table.
|
|
7807
8843
|
*
|
|
@@ -7825,6 +8861,8 @@ declare module "sap/ui/table/Table" {
|
|
|
7825
8861
|
| `{${string}}`;
|
|
7826
8862
|
|
|
7827
8863
|
/**
|
|
8864
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
8865
|
+
*
|
|
7828
8866
|
* This property is used to set the minimum count of visible rows when the property visibleRowCountMode
|
|
7829
8867
|
* is set to Auto or Interactive. For any other visibleRowCountMode, it is ignored.
|
|
7830
8868
|
*/
|
|
@@ -7842,20 +8880,19 @@ declare module "sap/ui/table/Table" {
|
|
|
7842
8880
|
fixedColumnCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7843
8881
|
|
|
7844
8882
|
/**
|
|
8883
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
8884
|
+
*
|
|
7845
8885
|
* Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
|
|
7846
8886
|
* fixed, will scroll.
|
|
7847
|
-
*
|
|
7848
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7849
8887
|
*/
|
|
7850
8888
|
fixedRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7851
8889
|
|
|
7852
8890
|
/**
|
|
7853
8891
|
* @since 1.18.7
|
|
8892
|
+
* @deprecated (since 1.119) - use the `rowMode` aggregation instead.
|
|
7854
8893
|
*
|
|
7855
8894
|
* Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
|
|
7856
8895
|
* not fixed, will scroll.
|
|
7857
|
-
*
|
|
7858
|
-
* This property is only supported if the `rows` aggregation is bound to a {@link sap.ui.model.ClientModel client model}.
|
|
7859
8896
|
*/
|
|
7860
8897
|
fixedBottomRowCount?: int | PropertyBindingInfo | `{${string}}`;
|
|
7861
8898
|
|
|
@@ -7931,7 +8968,9 @@ declare module "sap/ui/table/Table" {
|
|
|
7931
8968
|
title?: string | Control | PropertyBindingInfo;
|
|
7932
8969
|
|
|
7933
8970
|
/**
|
|
7934
|
-
* Control or text of footer section of the Table (if not set it will be hidden)
|
|
8971
|
+
* Control or text of footer section of the Table (if not set it will be hidden).
|
|
8972
|
+
*
|
|
8973
|
+
* **Note:** The `altType` string is deprecated as of version 1.118. Use a `Control` instead.
|
|
7935
8974
|
*/
|
|
7936
8975
|
footer?: string | Control | PropertyBindingInfo;
|
|
7937
8976
|
|
|
@@ -7977,6 +9016,17 @@ declare module "sap/ui/table/Table" {
|
|
|
7977
9016
|
*/
|
|
7978
9017
|
rows?: Row[] | Row | AggregationBindingInfo | `{${string}}`;
|
|
7979
9018
|
|
|
9019
|
+
/**
|
|
9020
|
+
* @since 1.119
|
|
9021
|
+
*
|
|
9022
|
+
* Defines how the table handles the rows.
|
|
9023
|
+
*/
|
|
9024
|
+
rowMode?:
|
|
9025
|
+
| (Type | keyof typeof Type)
|
|
9026
|
+
| RowMode
|
|
9027
|
+
| PropertyBindingInfo
|
|
9028
|
+
| `{${string}}`;
|
|
9029
|
+
|
|
7980
9030
|
/**
|
|
7981
9031
|
* The value for the noData aggregation can be either a string value or a control instance. The control
|
|
7982
9032
|
* is shown, in case there is no data for the Table available. In case of a string value this will simply
|
|
@@ -8029,6 +9079,7 @@ declare module "sap/ui/table/Table" {
|
|
|
8029
9079
|
| `{${string}}`;
|
|
8030
9080
|
|
|
8031
9081
|
/**
|
|
9082
|
+
* @deprecated (since 1.110)
|
|
8032
9083
|
* @experimental (since 1.28) - This feature has a limited functionality.
|
|
8033
9084
|
*
|
|
8034
9085
|
* The column by which the table is grouped. Grouping will only be performed if `enableGrouping` is set
|
|
@@ -8082,6 +9133,8 @@ declare module "sap/ui/table/Table" {
|
|
|
8082
9133
|
filter?: (oEvent: Table$FilterEvent) => void;
|
|
8083
9134
|
|
|
8084
9135
|
/**
|
|
9136
|
+
* @deprecated (since 1.118)
|
|
9137
|
+
*
|
|
8085
9138
|
* fired when the table is grouped (experimental!).
|
|
8086
9139
|
*/
|
|
8087
9140
|
group?: (oEvent: Table$GroupEvent) => void;
|
|
@@ -9548,14 +10601,16 @@ declare namespace sap {
|
|
|
9548
10601
|
|
|
9549
10602
|
"sap/ui/table/RowActionItem": undefined;
|
|
9550
10603
|
|
|
9551
|
-
"sap/ui/table/rowmodes/
|
|
10604
|
+
"sap/ui/table/rowmodes/Auto": undefined;
|
|
9552
10605
|
|
|
9553
|
-
"sap/ui/table/rowmodes/
|
|
10606
|
+
"sap/ui/table/rowmodes/Fixed": undefined;
|
|
9554
10607
|
|
|
9555
|
-
"sap/ui/table/rowmodes/
|
|
10608
|
+
"sap/ui/table/rowmodes/Interactive": undefined;
|
|
9556
10609
|
|
|
9557
10610
|
"sap/ui/table/rowmodes/RowMode": undefined;
|
|
9558
10611
|
|
|
10612
|
+
"sap/ui/table/rowmodes/Type": undefined;
|
|
10613
|
+
|
|
9559
10614
|
"sap/ui/table/RowSettings": undefined;
|
|
9560
10615
|
|
|
9561
10616
|
"sap/ui/table/Table": undefined;
|