tompetrus / oracle-apex-ajax-tree

Oracle Apex Ajax Tree Region Plugin
9 stars 4 forks source link

Links don't work out of the box #9

Open tompetrus opened 8 years ago

tompetrus commented 8 years ago

Defining the link column will generate the correct markup (the anchor tag will have the href attribute), but clicking the node does not redirect. That's correct since the UI plugin binds to the click event and delegates this as a select_node event.

Not sure yet on how to handle this, but either the link column should be inspected for being not null (not per record but on a global basis?), or when a select_node occurs we should inspect if there is an href attribute (with a value) and then perform the redirect automatically. Right now, user has to bind to the event and perform the action himself, which is confusing to say the least.