on 12-06-2013 11:09 AM
Hi,
I have an ItemListBox in my view.
I just made a button "SelectAll" for the user, where he can easily select all items in de box.
In the actioncode of the button I need to select all items. I just found an option "SetSelected" but I don't know how to use it and where..
Already wrote some basic code:
// Looping the node
for(int i=0;i<wdContext.nodeRapportering().size();i++) {
// Here I should call the ItemListBox and set the selected boolean to true of something like that ( “GetSelected” of “GetLeadSelection()” )
}
Any help with my problem!
Just solved this case
Code:
for (int i = 0; i < wdContext.nodeRapportering().size(); i++){
wdContext.nodeRapportering().setSelected(i, true);
}
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.