Quint
unread,Jul 26, 2011, 5:37:01 PM7/26/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SlickGrid
Hello Everyone,
I created a custom editor that is a jquery dialog with a few fields to
collect information. When the user is done editing, whether they click
Cancel or Save, the grid jumps back to the top. I stepped through the
code and traced it to a line that looks like it puts the focus back on
the grid. It is line 1945 of slick.grid.js - it just calls setFocus()
which in turn calls $canvas[0].focus(). As soon as the script hits
this line, the grid jumps back to the top.
I have tried this in both Firefox and Chrome with the same result.
Thanks for your help,
Quint