Hi, I have a Table Component in Ignition 8.1. Perspective and I have one column that is editable. I would like to jump to the next editable Cell when committing the Cell I just edited. So far the only code in my onEditCellCommit Script is:
self.props.data[event.row][event.column] = event.value
Is there an easy way to implement this behaviour?
self.props.selection.selectedRow = self.props.selection.selectedRow + 1
Thanks for the quick response. But I would like to automatically get to the cell to edit not just select it, so that I don't have to click on every cell in the table to fill out the whole table.
I don't believe there is property for "enter cell" or something similar. Maybe that can be a feature request?
You won't be able to get this functionality with the table component. You can however make your own 'table' with a custom view for a row of data (flex repeater with text fields) and a flex repeater of your row view. You can then use .focus() on the text fields to move your cursor though the "table".
1 Like
Thanks, that's a good idea.