Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: Check all/uncheck all on button press event in sapui5

$
0
0

Hi Experts,

 

I have found one solution for the above problem. I don't know whether it is right or wrong approach but it is working as per my requirement.

The solution is below:

$("#homePage--cB-homePage--tab-0-CbBg").addClass("sapMCbMarkChecked");

 

("#homePage--cB-homePage--tab-0-CbBg") - this is my id for the check box.

("sapMCbMarkChecked") - This is the class for checked.


So above code is working for select all.

Now I also need to implement the deselect all. In this case I don't have the reverse solution.


Could it be possible to deselect all through above approach which I have mentioned in this post?


Thanks in advanced..

Regards,

Arindam Samanta


Viewing all articles
Browse latest Browse all 9159

Trending Articles