I have a WD table in which one of the columns is a link(LinkToAction). The data in the column is bound to the view context and is also mapped to an OnAction method.
I would like to extract the value of the link when the user selects the link.
I tried 2 ways:
int i = wdContext.nodeListData().getLeadSelection(); String val = wdContext.nodeListData().getListDataElementAt(i).getSalesOrderNo();
But for some reason the selection of the link does not change the lead selection of the row in the table. The value returned by the above methods does not correspond to the link selected but returns the value of the Sales Order where the row is selected.
Any ideas what I am doing wrong?