Hello,
I’m working on various projects using this excellent node . Everything seems to be working fine, except that sometimes my data doesn’t appear in the table. My tables are organised into groups on my dashboard, and I hide or show these groups depending on user interactions. So I don’t think it’s a problem with the node itself, but I’m trying to find the most efficient and responsive way to display my data in the table. A timer is a basic solution, but I’m looking for something better. Do you have an effective method for solving this problem ? If you have any ideas… I’d love to hear them.
Thanks in advance
Glad to hear that you like the node.
I need to understand the details: you say you have multiple tables across several groups, the groups are shown/hidden dynamically, and the table data sometimes disappears.
When does the data disappear, is it random, related to a specific user event, when a group becomes visible?
Once the table goes blank, how do you bring the data back - by clicking the table? or something else?
Hi
You’re right, that happens when a group becomes visible. Is there a way to know when the table is ready to accept data? In my case, when the data isn’t loaded into the table, I simply select the next data to display in my table (using a function node that lets me scroll my data list up and down), then I go back to the previous data. I’m aware of this minor issue and am looking for a more robust solution to fix it. If you have an idea... let me know ?
How are you making it visible? using ui-control? I tried to simulate this, but in my setup the table shows correctly upon getting visibility. In any case, you can try to send the table a redraw command.(msg.tbCmd = 'redraw') after you make the group visible. Let me know if this solves the issue, and I will add this to the documentation.
The table should be always ready to accept data, even when its group is hidden. While playing with this, I noticed that when hidden, it does not accept commands. I'll further investigate this, and issue a fix if needed
[edit]
OK, so nothing to do with my node. In dashboard-2, when hiding with ui-control, it destroys all the group's nodes and recreates them upon show. If this suits you (i.e. you do not need to set data in the table while it's hidden, then OK. Else, you'll need to hide it differently, e.g. hide the ui-group directly from a template node.