Grid Jumps to Top on Editor Cancel

49 views
Skip to first unread message

Quint

unread,
Jul 26, 2011, 5:37:01 PM7/26/11
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

kim bo bim

unread,
Apr 3, 2012, 7:30:27 AM4/3/12
to slic...@googlegroups.com
Hi there

I too am having the same problem.  Did you find any way to solve it?

Thanks
Kim

Michael Leibman

unread,
Apr 13, 2012, 11:06:45 PM4/13/12
to slic...@googlegroups.com

Eliprodigy

unread,
Feb 6, 2013, 11:09:40 AM2/6/13
to slic...@googlegroups.com

thank you it's worked for me 
Jquery dialog with slickGrid scrolling fixed!!!!
Reply all
Reply to author
Forward
0 new messages