mleibman / SlickGrid

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

Rowselection after render event #1158

Closed GitHubOrim closed 7 years ago

GitHubOrim commented 7 years ago

Hi, what is the right event to store grid.setSelectedRows([0]) I want to check after page loaded or grid loaded... if rowcount > 0 then select first row I can`t get it to work... Or do i need to insert timeout...

6pac commented 7 years ago

Questions like this should be posted on StackOverflow. GitHub is for bugs. This said, if you start with one of the examples that uses RowSelectionModel, I don't think there should be a problem with your code if in comes after all the initialisation.