mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

Automatic scrolling to current date on page load #1185

Open NovicePHP opened 6 years ago

NovicePHP commented 6 years ago

Hello Team,

I have a slickgrid list where it consists of hundreds of data and I have a column named Nidate which consists of date. I ordered it by date desc and I have lot of future dates in it and instead of scrolling down to the current date I need an automatic scrolling of the slickgrid to the current date whenever the page is loaded.

I just want to know how this can be achieved in slickgrid. Please let me know on this.

Thanks

6pac commented 6 years ago

grid.ScrollTo(rowIndex)
Please ask questions on StackOverflow in future.

Also read: www.slickgrid.net