on 07-09-2008 10:42 AM
Experts!!
Can we select/deselect all elements(rows) in a table through coding?
if possible please give me some hints.
nikhil
Edited by: Nikhil ßos on Jul 9, 2008 3:14 PM
Hi,
Use the following method of the node
wdContext.nodeOrders().setSelected(int index, boolean selected)
wdContext.nodeOrders().setSelected(1, true);
wdContext.nodeOrders().setSelected(4, true);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thread closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
code to Select All
for( int i=0; i< wdContext.nodeNode().size(); i++)
{
wdContext.nodeNode().setSelected(i, true);
}
code to Deselect All
for( int i=0; i< wdContext.nodeNode().size(); i++)
{
wdContext.nodeNode().setSelected(i, false);
}
regards,
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
for(int i=0;i<wdcontext.node<name>().size();i++)
{
wdcontext.node<name>().Setselected(i,true);
}
same for deselecting .I hope these will work.
thanks,
Tulasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.