on 05-19-2011 10:45 AM
Dear Expert ,
There is a table with two column . in one column there is pernr and in the other one there is PA . Now when i click on any individual pernr the corresponding PA gets assign to that Pernr . now there is a button " Select all" . When clicking on " SELECT ALL " all the PA corresponding to the token number should be assign at one time which is not happening
Please guide me .
Hi Sidhartha,
You can do this without checkboxes also. Just create a method, which will be triggered when you click on select all.
In the method you lood through the node , that is supplying the table data and assign the token no to the respective field of every row.
Hope it helps,
Sattam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sidhartha,
Suppose Node_Table is the node uesd to populate the Table, and it has an attribute Token where you want to store the PA.
The code will be something like this..
for(i= 0; i < wdContext.nodeNode_Table.size() ; i ++ )
{
IPublic<Controller Name>.INode_TableElement element = wdContext.nodeNode_Table().getNode_TableElementAt(i);
element.setToken = PA // PA is the value you want to assign
}
Try this and let me know in case of any issues.
Regards,
Sattam
Hi
To achive the functionality of select all. First of all make table column with checkbox. And on click of selectall button set the status of these checkbox as checked. Then all the table items will be selected and then you can add these selected items from one table to another.
To create a check box in table you have make an attribute of boolean type in table node and bind this attribute to the table column's checkbox.
Regards,
Deepak.
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 | |
9 | |
7 | |
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.