on 07-10-2007 3:19 PM
HI All
I would like to have action for table cell editor which have LInktoAction. On clicking user should be able to see another window. After clicking user should be able to send some values from the row where user have clicked(but user clicks on LinkToAction only).
Kindly suggest me apt solution.
Thanks
Assign an action to LinkToAction.onAction event.
Map event parameter "nodeElement" to action parameter "row" (type IRowsElement, where "Rows" is table data source node).
Do it in the view designer (if available) or by code:
wdDoModifyView()
{
if (firstTime)
{
IWDLinkToAction link = (IWDLinkToAction) view.getElement("LinkID");
link.mappingOfOnAction().addSourceMapping("nodeElement", "row");
}
}
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for information. I donot options in NWDS but I am trying to do with coding.
IWDLinkToAction editor = (IWDLinkToAction) view.getElement("LinkToAction");
editor.mappingOfOnAction().addSourceMapping("nodeElement", "row");
and in Action I tried to add element 'row' as type ITablePerformanceElement row.
My idea is to use row.getCellA() method retrive row clicked.But I have not found
ITablePerformanceElement type in my NWDS. I am using Version: 7.0.09 of NWDS.
Can you please tell me where I can find this ITablePerformanceElement type.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.