on 01-22-2008 5:18 AM
Hi Experts,
In my requirement is I have table with check box and one submit button
column1 | column 2 | ..... column 5
under column1 having check box
IF i select the checkbox and after clicking the button how can i remove the entire column into the table.... please help its very urgent..
Regards,
P.Manivannan.
Hi,
Create a context attribute of type WDVisibility.
Initially set the value to WDVisibility.VISIBLE
Map this attribute to the visible property of the table.
Once as per your requirement, once the user select the checkbox and click submit make this property to WDVisibility.NONE.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Under the table node, create one attribute of type boolean and bind it to the checked property of checkbox cell editor.
Now, on click on the submit button just loop through the node and check for selected checkbox and remove that row
for(int i=0; i<wdContext.node<nodename>().size().i++)
{
IPrivate<viewname>.I<nodename>Element ele = wdContext.node<nodename>().getElementAt(i);
if(ele.get<attribute for checkbox of type boolean>() == true)
{
wdContext.node<nodename>().removeElementAt(i);
}
}
Regards,
Murtuza
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.