Hello,
I've been playing for some time with the new APEX tree and besides the sample application I haven't found anything at all about it. Unfortunately after few quite painful hours I'm not even able to get it's value (at least I suppose that it should be somehow possible to get value of a selected node). The only documentation I was able to find was this:
SQL Query
Enter the SQL source for this component.
Examples
select case when connect_by_isleaf = 1 then 0 when level = 1 then 1 else -1 end as status, level, ename as title, 'icon-tree-folder' as icon, empno as value, ename as tooltip, null as link from emp start with mgr is null connect by prior empno = mgr order siblings by ename
Additional Information
- Type: SQL Statement
- Supported Bind Variables: Application, Page Items and System Variables
- Minimum Columns: 7
- Maximum Columns: 7
So please, any ideas how to get value of a selected node would be highly appreciated. There is already one similar question here APEX 5.0 Tree but the proposed solution redirects to the same page and sets item values via the link. I don't want to redirect anything anywhere, I would just like to read value of a selected node.
Thanks a lot,
Pavel