Rest scrollX position after button click.

Rest scrollX position after button click.

braden87braden87 Posts: 17Questions: 5Answers: 0

I have a view that has a table with a lot of columns so I'm using the scrollX feature. In this view I can dynamically add rows. Typically the data flow is the user will enter data and go to the far right of the screen before adding a new row. So when the new row is added the scroll position should go back to the far left. I've tried destroying and recreating the table before adding the row but it always removes the dynamically added row. How can I reset the scrollX position of the datatable?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.