on 02-13-2009 1:53 PM
Dear Experts,
Greetings.
We have a table which has multiple editable rows...first colum is a check box.... and second column is "Group Name" If user selects few check boxes and presses " add group name button" a pop up comes and aks for group name...upon giving the group name....and clicking on save...the given group name should appear in all the selected rows.
We tried the following logic...but it didn't work out
For ( from 0 to nodesize)
{
If (select == true)
{
set lead selection to i.
element = getelement at (i);
gname = get the name from comp. controller.
element.setGname(gname).
}}
But it saids the value only for the first row.....regardless of the no of checks......but the loop is perfect...
it enters the IF codition for all the ticked check boxes.
Kindly prvide Ur suggestion
Sathya
Try adding a node->invalidate() to your code.
PS. I think you don't have to change the lead selection in the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.