Hi,
I'm working on a low code app which utilizes a table and a node-edge graph, both of which essentially show the same data in 2 different ways.
Each row in the table contains a button which, upon click, opens a panel P and populates it with the data specific to the chosen row from the table.
I would like to have the same functionality in the node graph, with a similar button above the graph, which would open the same panel P but this time with the data specific to the selected node from the graph.
Since the same panel P needs to be open from 2 different places, I would like to keep the panel unique, and stay away from duplicating it for the sake of reducing the maintenance work and code duplication.
Is this possible to do with the latest version of low code apps?
If anything is unclear or you need more information to provide a useful answer, I would be happy to provide more details, images, or code samples.
Bests,
Enver
Hi Enver,
This is possible using the latest version of LCA. You can configure the panel with feeds from both the table & node-edge component. To make sure that the correct data is displayed when a node & table row is selected, you have to execute the 'clear selection' component action on the correct component:
- When viewing table row details => clear selection in the node edge
- When viewing node details => clear selection in the table
Note that this clear action will have to be executed before or in parallel with the 'open a panel' action.