43
Views
1
Comments
[Hierarchical Organizational Chart] Way to get click on tree item as an event out?
hierarchical-organizational-chart
Reactive icon
Forge asset by Sylvain Billot
Application Type
Reactive

I would like to do something on my page depending on which tree node the viewer clicks on.  Is there a way to have an event output the details of the tree node that someone clicks on?

2019-11-04 15-29-58
Sylvain Billot

Hello Jason.
The way that I use to do a server treatment when I click on a button in a node is :

  1. I create a screen with a "Fetch data from other sources" that really contain the treatment that I want; in fact I use it requently to do a button "delete this node".
  2. In the content of the node I generate by formula something like that :
    "<a href='/MyModuleName/MyScreenWithTheTreatment?id='" + record.id +">Clic me</a>".

Is it help you ?
Regards
Sylvain

  

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.