I have a process where a user clicks 'next' to move from one view on a tabbed container to the next.
On the second view I have a table which I would like to have all the rows selected automatically after clicking the 'next' button on the first view.
I've been trying to play around with an event to trigger a JS query that uses the following logic:
table1.selectRow(_.range(0,table1.data.length))
But this doesn't work for me.
Any help will be much appreciated.
I tried the following in a transformer but did not see the rows selected return {{ dataTable.selectedRow = _.range(0,dataTable.data.length) }}
and in a js query