Horizontal Scroll Position
Horizontal Scroll Position
Yadav224
Posts: 2Questions: 1Answers: 0
Dear Team,
Good afternoon,
i am using datatable to show some data.
I want to set bottom (ScrollX) position according to system datetime which was present in Header(table>th) screen attached
.
i really need help please help.
Answers
I want set this scroll according the time,
like if current time is evening 6.30 pm then bottom scroll according to header.
please help.
One option is to use jQuery scrollLeft(). I created this example, with FixedColumns, to show the needed jQuery selector:
https://live.datatables.net/dodobuge/3/edit
You will need to calculate the value to pass into scrollLeft() based on your table configuration.
Kevin