Moviri / recline

A simple but powerful library for building data applications in pure Javascript and HTML.
http://reclinejs.com/
MIT License
2 stars 2 forks source link

Verify selection for slickgrid #109

Closed davidemalagoli closed 11 years ago

davidemalagoli commented 11 years ago

verify if it is possibile to send an event to a slickgrid to select a row and "scrool" up to the selected row evaluate effort

giobaldac commented 11 years ago

The method to select a row and ensure it's visible is already present in the slickgrid. It's setActiveCell(row,col) The only thing that is yet to be defined is how to provide the slickgrid which cell to highlight and scroll to visible area. Probably the best way is to send an event from model/virtualmodel, since slickgrid already listens to it.

davidemalagoli commented 11 years ago

we need to use the "selection" event (the same we already use). define the parameter "selectedCellFocus: true/false" so we can enable/disable this behav

giobaldac commented 11 years ago

Implemented