this is the correct way to fire the selection event. You might be using not the correct parameter.
With what parameter do you call the function? It has to be setSelectedRows({TableId}, {Array of row keys}, {optional callback}). You can find an example in the attached workflow.
I hope this helps.
yes it works. But only if the callback function is in another JS Node.
Is it possible to trigger the callback function if the setSelectedRows call is in the same JS Node?
Hey,
I don’t think that the same node will receive its selection event, as this node triggered the selection so you should be able to trigger any other function after the setSelectedRows call?
What exactly is your use case?