I’ve been using the table in perspective such that, when a button is clicked, this will add a new, empty row to the table. What I have been doing so far is trying to get the data from the table, append a row of zeroes to the array, then make the table data this new data set as so:
data = self.getSibling("Table").props.data newRow = ['empty','empty','empty','empty'] data.append(newRow) self.getSibling("Table").props.data = data
This script is producing an error in the gateway, ArrayIndexOutOfBoundsException. This seems unlikely since I’m only appending the data. Does anybody know what’s going on here, or is this a bug? If so is there a workaround I can use?