Check all/uncheck all on button press event in sapui5
I have a table for mobile application. Table contains 4 fields for storing business data and one field which is actually check box. Now in table header there is two buttons for check all and unchecked all. I want to check all or unchecked all for corresponding button press. How to write the piece of code to achieve this requirement?
Below is my table with check box and two buttons for checked/unchecked-
Thanks & Regards,