on 02-08-2007 12:09 PM
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..
This question is meant for BSP forum
Sorry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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);
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ...
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.