Remain on current row after edit, currently it moves to the top of the table

Remain on current row after edit, currently it moves to the top of the table

cj1005cj1005 Posts: 142Questions: 45Answers: 1

Hi,

Currently, when I edit a record (either inline or via an edit form) the row data is updated correctly and the row remains as selected, but the viewpoint is set back to the top of the table.

Is it possible to set the default behavior of the datatable to keep the current row visible after editing?

Please note, I'm using 'ScrollY' so my data is one long list.

Regards, Chris

Answers

  • cj1005cj1005 Posts: 142Questions: 45Answers: 1

    Please ignore my message above, the issue is solved, it was caused by some old code, which was re-drawing the row after 'submitSuccess' which is no longer needed, I removed this and it now works as expected :)

Sign In or Register to comment.