cancel
Showing results for 
Search instead for 
Did you mean: 

How to get checkboxes in selectionMode="MultiToggle" for sap.ui.table.treeTable

Viswanath
Participant
0 Kudos

Hi,

In sap.ui.Table.TreeTable I used property selectionMode="MultiToggle" . I am unable to get check boxes for Multi row selection.

How can I get as shown in SAPUI5 explored please find below screen shot with checkboxes for Multi selection as shown below

Could anyone please help how to achieve as shown in above screeshot

Thanks,

Best Regards,

Viswanath

Accepted Solutions (1)

Accepted Solutions (1)

former_member365727
Active Contributor
0 Kudos

set style class sapUiSizeCompact for the container holding the table.

For all sap.ui.table.Table (wether its a table or tree table) if the parent container of the table is having the style class set as sapUiSizeCompact then checkboxes will appear in MultiSelection mode, else you will see row selector.

Viswanath
Participant
0 Kudos

Hi Srikanth,

It works.

Thanks for your help.

Best Regards,

Viswanath

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos

your code...