invasion
invasion

Reputation: 111

Select rows in sap.ui.table.Table Control

Is there a way to select the number of shown rows in a sap.ui.table.Table like shown in the bottom-right corner of the picture below?

sap.ui.table

Also my first column doesn't show checkboxes at the first column for multiselection. Multiselect does work, but I want checkboxes in the first column for it. How to do that?

I've set the attribute:

selectionMode : sap.ui.table.SelectionMode.Multi,

multiselect doesn't work

Upvotes: 2

Views: 4489

Answers (1)

Boghyon Hoffmann
Boghyon Hoffmann

Reputation: 18054

Here is an example of how to achieve this: embed.plnkr.co/NQpkJo/

  • In order to change the number of shown rows, you need to add the property visibileRowCount to your table which you could manipulate via data binding from single-click controls like sap.m.StepCount or sap.m.Slider.
  • The selection mode "MultiToggle" provides an additional column to select rows, which even enables us to select all of them if needed.
    The value "Multi" is deprecated since UI5 version 1.38.

Upvotes: 2

Related Questions