@openui5/types 1.118.0 → 1.119.1

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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.118.0
1
+ // For Library Version: 1.119.1
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -4172,6 +4172,836 @@ declare module "sap/ui/table/RowActionItem" {
4172
4172
  >;
4173
4173
  }
4174
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,
4705
+ /**
4706
+ * initial settings for the new control
4707
+ */
4708
+ mSettings?: $InteractiveSettings
4709
+ );
4710
+
4711
+ /**
4712
+ * Returns a metadata object for class sap.ui.table.rowmodes.Interactive.
4713
+ *
4714
+ * @returns Metadata object describing this class
4715
+ */
4716
+ static getMetadata(): ElementMetadata;
4717
+ /**
4718
+ * Gets current value of property {@link #getFixedBottomRowCount fixedBottomRowCount}.
4719
+ *
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`
4727
+ */
4728
+ getFixedBottomRowCount(): int;
4729
+ /**
4730
+ * Gets current value of property {@link #getFixedTopRowCount fixedTopRowCount}.
4731
+ *
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.
4734
+ *
4735
+ * Default value is `0`.
4736
+ *
4737
+ * @returns Value of property `fixedTopRowCount`
4738
+ */
4739
+ getFixedTopRowCount(): int;
4740
+ /**
4741
+ * Gets current value of property {@link #getMinRowCount minRowCount}.
4742
+ *
4743
+ * The minimum number of displayed rows.
4744
+ *
4745
+ * Default value is `5`.
4746
+ *
4747
+ * @returns Value of property `minRowCount`
4748
+ */
4749
+ getMinRowCount(): int;
4750
+ /**
4751
+ * Gets current value of property {@link #getRowContentHeight rowContentHeight}.
4752
+ *
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.
4756
+ *
4757
+ * Default value is `0`.
4758
+ *
4759
+ * @returns Value of property `rowContentHeight`
4760
+ */
4761
+ getRowContentHeight(): int;
4762
+ /**
4763
+ * Gets current value of property {@link #getRowCount rowCount}.
4764
+ *
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.
4767
+ *
4768
+ * Default value is `10`.
4769
+ *
4770
+ * @returns Value of property `rowCount`
4771
+ */
4772
+ getRowCount(): int;
4773
+ /**
4774
+ * Sets a new value for property {@link #getFixedBottomRowCount fixedBottomRowCount}.
4775
+ *
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.
4779
+ *
4780
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4781
+ *
4782
+ * Default value is `0`.
4783
+ *
4784
+ * @returns Reference to `this` in order to allow method chaining
4785
+ */
4786
+ setFixedBottomRowCount(
4787
+ /**
4788
+ * New value for property `fixedBottomRowCount`
4789
+ */
4790
+ iFixedBottomRowCount?: int
4791
+ ): this;
4792
+ /**
4793
+ * Sets a new value for property {@link #getFixedTopRowCount fixedTopRowCount}.
4794
+ *
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.
4797
+ *
4798
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4799
+ *
4800
+ * Default value is `0`.
4801
+ *
4802
+ * @returns Reference to `this` in order to allow method chaining
4803
+ */
4804
+ setFixedTopRowCount(
4805
+ /**
4806
+ * New value for property `fixedTopRowCount`
4807
+ */
4808
+ iFixedTopRowCount?: int
4809
+ ): this;
4810
+ /**
4811
+ * Sets a new value for property {@link #getMinRowCount minRowCount}.
4812
+ *
4813
+ * The minimum number of displayed rows.
4814
+ *
4815
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4816
+ *
4817
+ * Default value is `5`.
4818
+ *
4819
+ * @returns Reference to `this` in order to allow method chaining
4820
+ */
4821
+ setMinRowCount(
4822
+ /**
4823
+ * New value for property `minRowCount`
4824
+ */
4825
+ iMinRowCount?: int
4826
+ ): this;
4827
+ /**
4828
+ * Sets a new value for property {@link #getRowContentHeight rowContentHeight}.
4829
+ *
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.
4833
+ *
4834
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4835
+ *
4836
+ * Default value is `0`.
4837
+ *
4838
+ * @returns Reference to `this` in order to allow method chaining
4839
+ */
4840
+ setRowContentHeight(
4841
+ /**
4842
+ * New value for property `rowContentHeight`
4843
+ */
4844
+ iRowContentHeight?: int
4845
+ ): this;
4846
+ /**
4847
+ * Sets a new value for property {@link #getRowCount rowCount}.
4848
+ *
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.
4851
+ *
4852
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
4853
+ *
4854
+ * Default value is `10`.
4855
+ *
4856
+ * @returns Reference to `this` in order to allow method chaining
4857
+ */
4858
+ setRowCount(
4859
+ /**
4860
+ * New value for property `rowCount`
4861
+ */
4862
+ iRowCount?: int
4863
+ ): this;
4864
+ }
4865
+
4866
+ export interface $InteractiveSettings extends $RowModeSettings {
4867
+ /**
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.
4870
+ */
4871
+ rowCount?: int | PropertyBindingInfo | `{${string}}`;
4872
+
4873
+ /**
4874
+ * The minimum number of displayed rows.
4875
+ */
4876
+ minRowCount?: int | PropertyBindingInfo | `{${string}}`;
4877
+
4878
+ /**
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.
4881
+ */
4882
+ fixedTopRowCount?: int | PropertyBindingInfo | `{${string}}`;
4883
+
4884
+ /**
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.
4888
+ */
4889
+ fixedBottomRowCount?: int | PropertyBindingInfo | `{${string}}`;
4890
+
4891
+ /**
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.
4895
+ */
4896
+ rowContentHeight?: int | PropertyBindingInfo | `{${string}}`;
4897
+ }
4898
+ }
4899
+
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 {
4911
+ /**
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.
4920
+ */
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
+ );
4947
+
4948
+ /**
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
4955
+ */
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;
4977
+ }
4978
+
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;
5003
+ }
5004
+
4175
5005
  declare module "sap/ui/table/RowSettings" {
4176
5006
  import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
4177
5007
 
@@ -4445,6 +5275,10 @@ declare module "sap/ui/table/Table" {
4445
5275
 
4446
5276
  import RowAction from "sap/ui/table/RowAction";
4447
5277
 
5278
+ import RowMode from "sap/ui/table/rowmodes/RowMode";
5279
+
5280
+ import Type from "sap/ui/table/rowmodes/Type";
5281
+
4448
5282
  import RowSettings from "sap/ui/table/RowSettings";
4449
5283
 
4450
5284
  import TooltipBase from "sap/ui/core/TooltipBase";
@@ -5548,6 +6382,14 @@ declare module "sap/ui/table/Table" {
5548
6382
  * @returns Reference to `this` in order to allow method chaining
5549
6383
  */
5550
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;
5551
6393
  /**
5552
6394
  * Destroys all the rows in the aggregation {@link #getRows rows}.
5553
6395
  *
@@ -6463,6 +7305,7 @@ declare module "sap/ui/table/Table" {
6463
7305
  getFirstVisibleRow(): int;
6464
7306
  /**
6465
7307
  * @since 1.18.7
7308
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
6466
7309
  *
6467
7310
  * Gets current value of property {@link #getFixedBottomRowCount fixedBottomRowCount}.
6468
7311
  *
@@ -6491,6 +7334,8 @@ declare module "sap/ui/table/Table" {
6491
7334
  */
6492
7335
  getFixedColumnCount(): int;
6493
7336
  /**
7337
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
7338
+ *
6494
7339
  * Gets current value of property {@link #getFixedRowCount fixedRowCount}.
6495
7340
  *
6496
7341
  * Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
@@ -6517,6 +7362,8 @@ declare module "sap/ui/table/Table" {
6517
7362
  */
6518
7363
  getGroupBy(): ID;
6519
7364
  /**
7365
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
7366
+ *
6520
7367
  * Gets current value of property {@link #getMinAutoRowCount minAutoRowCount}.
6521
7368
  *
6522
7369
  * This property is used to set the minimum count of visible rows when the property visibleRowCountMode
@@ -6583,6 +7430,8 @@ declare module "sap/ui/table/Table" {
6583
7430
  */
6584
7431
  getRowActionTemplate(): RowAction;
6585
7432
  /**
7433
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
7434
+ *
6586
7435
  * Gets current value of property {@link #getRowHeight rowHeight}.
6587
7436
  *
6588
7437
  * Row height in pixel.
@@ -6602,6 +7451,14 @@ declare module "sap/ui/table/Table" {
6602
7451
  * @returns Value of property `rowHeight`
6603
7452
  */
6604
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);
6605
7462
  /**
6606
7463
  * Gets content of aggregation {@link #getRows rows}.
6607
7464
  *
@@ -6756,6 +7613,8 @@ declare module "sap/ui/table/Table" {
6756
7613
  */
6757
7614
  getToolbar(): Toolbar;
6758
7615
  /**
7616
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
7617
+ *
6759
7618
  * Gets current value of property {@link #getVisibleRowCount visibleRowCount}.
6760
7619
  *
6761
7620
  * Number of visible rows of the table.
@@ -6767,6 +7626,7 @@ declare module "sap/ui/table/Table" {
6767
7626
  getVisibleRowCount(): int;
6768
7627
  /**
6769
7628
  * @since 1.9.2
7629
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
6770
7630
  *
6771
7631
  * Gets current value of property {@link #getVisibleRowCountMode visibleRowCountMode}.
6772
7632
  *
@@ -7318,6 +8178,7 @@ declare module "sap/ui/table/Table" {
7318
8178
  ): this;
7319
8179
  /**
7320
8180
  * @since 1.18.7
8181
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
7321
8182
  *
7322
8183
  * Sets a new value for property {@link #getFixedBottomRowCount fixedBottomRowCount}.
7323
8184
  *
@@ -7360,6 +8221,8 @@ declare module "sap/ui/table/Table" {
7360
8221
  iFixedColumnCount?: int
7361
8222
  ): this;
7362
8223
  /**
8224
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8225
+ *
7363
8226
  * Sets a new value for property {@link #getFixedRowCount fixedRowCount}.
7364
8227
  *
7365
8228
  * Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
@@ -7404,6 +8267,8 @@ declare module "sap/ui/table/Table" {
7404
8267
  oGroupBy: ID | Column
7405
8268
  ): this;
7406
8269
  /**
8270
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8271
+ *
7407
8272
  * Sets a new value for property {@link #getMinAutoRowCount minAutoRowCount}.
7408
8273
  *
7409
8274
  * This property is used to set the minimum count of visible rows when the property visibleRowCountMode
@@ -7484,6 +8349,8 @@ declare module "sap/ui/table/Table" {
7484
8349
  oRowActionTemplate: RowAction
7485
8350
  ): this;
7486
8351
  /**
8352
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8353
+ *
7487
8354
  * Sets a new value for property {@link #getRowHeight rowHeight}.
7488
8355
  *
7489
8356
  * Row height in pixel.
@@ -7510,6 +8377,19 @@ declare module "sap/ui/table/Table" {
7510
8377
  */
7511
8378
  iRowHeight?: int
7512
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;
7513
8393
  /**
7514
8394
  * Sets the aggregated {@link #getRowSettingsTemplate rowSettingsTemplate}.
7515
8395
  *
@@ -7693,6 +8573,8 @@ declare module "sap/ui/table/Table" {
7693
8573
  vTooltip: string | TooltipBase
7694
8574
  ): this;
7695
8575
  /**
8576
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8577
+ *
7696
8578
  * Sets a new value for property {@link #getVisibleRowCount visibleRowCount}.
7697
8579
  *
7698
8580
  * Number of visible rows of the table.
@@ -7711,6 +8593,7 @@ declare module "sap/ui/table/Table" {
7711
8593
  ): this;
7712
8594
  /**
7713
8595
  * @since 1.9.2
8596
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
7714
8597
  *
7715
8598
  * Sets a new value for property {@link #getVisibleRowCountMode visibleRowCountMode}.
7716
8599
  *
@@ -7799,6 +8682,8 @@ declare module "sap/ui/table/Table" {
7799
8682
  width?: CSSSize | PropertyBindingInfo | `{${string}}`;
7800
8683
 
7801
8684
  /**
8685
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8686
+ *
7802
8687
  * Row height in pixel.
7803
8688
  *
7804
8689
  * In the table's header, it defines the minimum height of the row, but it cannot be less than the default
@@ -7835,6 +8720,8 @@ declare module "sap/ui/table/Table" {
7835
8720
  columnHeaderVisible?: boolean | PropertyBindingInfo | `{${string}}`;
7836
8721
 
7837
8722
  /**
8723
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8724
+ *
7838
8725
  * Number of visible rows of the table.
7839
8726
  */
7840
8727
  visibleRowCount?: int | PropertyBindingInfo | `{${string}}`;
@@ -7950,6 +8837,7 @@ declare module "sap/ui/table/Table" {
7950
8837
 
7951
8838
  /**
7952
8839
  * @since 1.9.2
8840
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
7953
8841
  *
7954
8842
  * Defines how the table handles the visible rows in the table.
7955
8843
  *
@@ -7973,6 +8861,8 @@ declare module "sap/ui/table/Table" {
7973
8861
  | `{${string}}`;
7974
8862
 
7975
8863
  /**
8864
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8865
+ *
7976
8866
  * This property is used to set the minimum count of visible rows when the property visibleRowCountMode
7977
8867
  * is set to Auto or Interactive. For any other visibleRowCountMode, it is ignored.
7978
8868
  */
@@ -7990,6 +8880,8 @@ declare module "sap/ui/table/Table" {
7990
8880
  fixedColumnCount?: int | PropertyBindingInfo | `{${string}}`;
7991
8881
 
7992
8882
  /**
8883
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8884
+ *
7993
8885
  * Number of rows that are fix on the top. When you use a vertical scrollbar, only the rows which are not
7994
8886
  * fixed, will scroll.
7995
8887
  */
@@ -7997,6 +8889,7 @@ declare module "sap/ui/table/Table" {
7997
8889
 
7998
8890
  /**
7999
8891
  * @since 1.18.7
8892
+ * @deprecated (since 1.119) - use the `rowMode` aggregation instead.
8000
8893
  *
8001
8894
  * Number of rows that are fix on the bottom. When you use a vertical scrollbar, only the rows which are
8002
8895
  * not fixed, will scroll.
@@ -8123,6 +9016,17 @@ declare module "sap/ui/table/Table" {
8123
9016
  */
8124
9017
  rows?: Row[] | Row | AggregationBindingInfo | `{${string}}`;
8125
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
+
8126
9030
  /**
8127
9031
  * The value for the noData aggregation can be either a string value or a control instance. The control
8128
9032
  * is shown, in case there is no data for the Table available. In case of a string value this will simply
@@ -9697,6 +10601,16 @@ declare namespace sap {
9697
10601
 
9698
10602
  "sap/ui/table/RowActionItem": undefined;
9699
10603
 
10604
+ "sap/ui/table/rowmodes/Auto": undefined;
10605
+
10606
+ "sap/ui/table/rowmodes/Fixed": undefined;
10607
+
10608
+ "sap/ui/table/rowmodes/Interactive": undefined;
10609
+
10610
+ "sap/ui/table/rowmodes/RowMode": undefined;
10611
+
10612
+ "sap/ui/table/rowmodes/Type": undefined;
10613
+
9700
10614
  "sap/ui/table/RowSettings": undefined;
9701
10615
 
9702
10616
  "sap/ui/table/Table": undefined;