cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple checkboxes selection event to be captured

Former Member
0 Kudos

Hi BSP masters

there is a situation where i have a tableview with a column for checkboxes,

Now when the user selects on multiple checkboxes (.ie multiple rows ) and presses button A , he should be not allowed to do so

but when he presses button B he should be allwoed to do so..

How can i capture this multiple checkboxes are clicked or not condition ??.

Please help..

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This question is meant for BSP forum

Sorry

Ranjeet0702
Active Participant
0 Kudos

Inorder to select/deselct all the checkboxes onAction you can write the following code:

// Select All

for(int i=0;i<wdContext.node><node>().size();i++)

{

wdContext.node<node>().get<node>ElementAt(i).set<nodeElemet>(true);

}

//DeselectAll:

for(int i=0;i<wdContext.node><node>().size();i++)

{

wdContext.node<node>().get<node>ElementAt(i).set<nodeElemet>(false);

}

Former Member
0 Kudos

Hi Ranjeet

Thanks for the reply. Also the second part of the question is

2-> how do i capture the multiple checkboxes clicked.

Since i want to throw an error back to user when he clicks ' button 1 ' saying that he has clicked multiple check boxes

but not throw any error when he has done the same action as above but has clicked 'button 2 '.

Can you help ...