How to write lead selection method for a tree by nesting table column
I have implemented a table with TreeByNestingTableColumn(To show the tree structure in the table).I am not able to get the selected row element in lead selection method.(I am able to get parent element.) .
could anyone please tell me about this code?
Tatayya Marni replied
Follow the below steps to the solution for your problem
1. Create Action "LeadSelection" in View with parameter (name : 'seletedItem'
and type : I<your node>Element
2. Bind this action to Table property "onLeadSelec"
3. In wdModify()
IWDTable table = (IWDTable) view.getElement("Your table id");
4. In onActionLeadSelection()
wdComponentAPI.getMessageManager().reportSuccess("Selected Item : "+selectedEle.get<Your Node Attribute>());
Let me know if you need more clarification