Select New Row in Table.
Select New Row in Table.
I would like to select the new row in I’ve added using editor.create in the table
When the create method has been successfully submitted and the new row added to the associated table the new row is highlighted momentarily.
I’ve tried to use drawCallback and table.on(‘draw’, function… both, as per the documentation fire before the new row is highlighted momentarily.
Is there a way in the editor submit method to leave the new row highlight on rather than it being on a timeout?
This question has an accepted answers - jump to answer
Answers
postCreate
is the event to listen for here and then userow().select()
on the row that was created - e.g.:Allan
Thank you Allan!!