on 2006 Jul 28 10:44 AM
hi,
i need some help regarding.
I have created a table Dynamically and populated with table data.
I need to fetch the selected record from the table.
can anyone point out how could i get the selected record from the table.
Hi
You can create an action and bind this to the table onLeadSelect and select the current record as wat we do in static table
In the action,wdContext.current<Node>element.get<Attribute>
Regards
Saravanan K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Ia m able to bind the onleadSelect event to the dynamially created table .
But i was not able to select the table records.
default first record was only selected.
can u help me out to find the way.
i am pasting the code for reference.
can u suggest me the right direction.
i want the selected record in the table to be dispalyed in another view thru this action event.
but only the forst record is now getting selected by default.
here the code.
IWDNode node =wdContext.currentContextElement().node().getChildNode(nodename,0);
for (int l = 0; l < node.size(); l++) {
int ele = node.getLeadSelection();
IWDNodeElement element= node.getElementAt(ele);
}
table.setOnLeadSelect(wdThis.wdGetObjectSelectedAction());
Hi,
Let us dynamic node 'DynamicNode'. After binding into table, bind one action in "onLeadSelect" property. Inside action String value=wdContext.current<DynamicNode>Element().get<Parametername>();
Kind Regards,
S.Mukesh Mani.
Message was edited by: Mukesh mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.