Hi everyone,
I have some very simple beginner issues that i can’t find my way around.
I use multiple table that list rhe results and are used as filters. When an item on the row is clicked, the other tables are modified accordingly.
Issues:
- Row “deselected” does not seem to have an event, which stops me from updated other tables on deselect (is this correct, if not, what event is to be used here?)
- Using the resetWidget function does not seem to reset the selected row in several occasions. This causes some but not all tables to still have a “selected” row, even after resetting the widget multiple times over. (This is done by a separate “reset” button that resets the table or container and all children). This as tried both using the interface for widget reset and javascript functions.
- Running queries after ResetWidget using Query.run() doesn’t seem to be updated with new variables (by resetting the table, i hope to reset the selectedRow variables in order to use a wildcard in my query). I am even unsure if Query.run() automatically updates the table as i do not see any update after running a simple JS function such as the following:
myFunc: () => {
ResetWidget(‘table1’); # table 1 is used as filter for table 2
Query1.run(); #which is supposed to update table 2
}
It is also unclear if ResetWidget returns a promise, but i tried to update my function to run the Query1 in the .then() statement, but no difference.
Any insights are appreaciated!
Kind regards