Using a script to add every row of data into the
props.selection.data property does not actually change the visually selected rows. And its not possible to add rows incrementally.
Therefore its not possible to select everything in a table via scripting, which is useful for a “select all” button
Easy mock up:
Throw this on a message handler on the table, then call the message from a button
for item in self.props.data: self.props.selection.data.append(item)