@Christian-Me Could I get a little nudge to point me in the right direction please?
Have now got a message that includes the row number on each click.
But I am unclear how to send it back to the table node...
Here is the code and the debug message.
Here is how I have the flow setup to catch every click on the table.
Thanks.
EDIT. Never mind. Refresh the browser and its working.
For those following along, this will highlight the selected row in a table.
To recap....
Second Edit based on Christian-Me extra info a few posts down..
The ui control node does not output anything (as per dceejay post just above this one) so does not need to be hooked to anything.
- Install the correct table node. You want
node-red-node-ui-table
. - Place a ui control node on the flow, select 'Change tab or group events only' from the drop down menu.
- Place a function node on your flow.
- The function node code is as follows. (Just cut and paste it all in).
msg.ui_control = {tabulator:{}};
msg.ui_control.tabulator.selectable=1;
return msg;
- Deploy and refresh your browser.