Scrollbar position and state saving
Scrollbar position and state saving
marianopeck
Posts: 53Questions: 8Answers: 0
Hi guys.
My webapp in which I am using DataTables is very server side. I only render the table + DataTables in the client. In all my tables, I have a first column which is a checkbox to select/unselect rows. Say I have a table with vertical scroll. If I have scrolled up to the middle of the table, and I click on the checkbox to select the row, that is a request...so when it is rendered again, I come back to the top of the table.... of course.
So I was thinking.... does DataTables has something to offer me to solve this issue? Maybe there is something I can do with the state saving?
Thanks!
My webapp in which I am using DataTables is very server side. I only render the table + DataTables in the client. In all my tables, I have a first column which is a checkbox to select/unselect rows. Say I have a table with vertical scroll. If I have scrolled up to the middle of the table, and I click on the checkbox to select the row, that is a request...so when it is rendered again, I come back to the top of the table.... of course.
So I was thinking.... does DataTables has something to offer me to solve this issue? Maybe there is something I can do with the state saving?
Thanks!
This discussion has been closed.
Replies
Allan
But...if you tell me where I can look in Scroller, if it is not too complex, I can try to adapt it to normal/regular DataTables or directly for my tables???
I just need to fix all the alignment issues and I am ready to go to using DataTables in production :)
Thanks very much for this project!
Allan