Skip to Content
Former Member
Oct 04, 2016 at 01:07 PM

Any function to acheive default select all in ui.table?



I have used sap.ui.table (2 columns containing textboxes)with checkboxes enabled..i have one button onclick of that button i want to select all rows in table and populate the table with some default value.. i am doing something like this.. this makes the table rows selected for the first time and after that if i select values are populated but checkboxes are not selected.. like clearSelection() method is there any method which will do opposite of this.

how to use fireRowSelectionChange this method?? can i acheive this functionality using this method

for(var i=0;i<5;i++)