dojo datagrid will make the page "jump" when sorting is changed
Posted
by Select0r
on Stack Overflow
See other posts from Stack Overflow
or by Select0r
Published on 2010-03-19T10:57:16Z
Indexed on
2010/03/30
3:43 UTC
Read the original article
Hit count: 406
Hi,
I have a Dojo Datagrid in one of my pages (which contains more content) and the following problem occurs: As soon as I click on a column header to change the sorting, the page will jump up as if I clicked on some HTML-anchor.
Funny enough, the page jump will make the grid show only the first two rows after it jumped, instead of (e.g.) have the grid start at the top of the page after the jump, which is the expected behaviour if an anchor is used.
The problem occurs in different browsers (tested: Firefox 3.6, Opera 10, IE6), so I guess it might be a Dojo-problem/-bug.
Any ideas to make this annoying behaviour stop?
Greetings, Select0r
PS: this seems to describe a similar problem, only for JQuery (and unfortunately without a solution, too)
© Stack Overflow or respective owner