I have a table, which its MasterColumn is bind to Folder node (in the context). The Folder node has a recursion node called SubFolder. In the table's OnLeadSelection action I need to retrieve the selected Folder. The problem is that I can only retrieve the selected element of a specific node, and since this is a recursive node, I do not know which is the selected node. Therefore, if I try wdContext.nodeFolder().getLeadSelection(), I always get the same number, even though the selected row in the table is changed.
How do I retrieve the selected element?