6
6rl
Unregistered / Unconfirmed
GUEST, unregistred user!
首先使用一TIWDBGrid,设置好TIWDBGrid的事件
当点击一行记录时,触发事件,执行,一切都没问题。
但是这个页面刷新后,ie滚动到顶端了。
有什么办法可以不让ie滚动到顶端,也就是窗口显示位置仍在点击时的位置
If I have a TIWDBGrid on a page with more rows than the page can display I
get the scrollbar.. All Good..
If I click on a row and in my clicked event for that column I do a Locate on
my dataset, this also works Ok.
However the page now refreshes itself and the grid scrolls back to the top.
Is there anyway to prevent this happening, ie preserve the scroll position
of this grid after you move to a different row?
当点击一行记录时,触发事件,执行,一切都没问题。
但是这个页面刷新后,ie滚动到顶端了。
有什么办法可以不让ie滚动到顶端,也就是窗口显示位置仍在点击时的位置
If I have a TIWDBGrid on a page with more rows than the page can display I
get the scrollbar.. All Good..
If I click on a row and in my clicked event for that column I do a Locate on
my dataset, this also works Ok.
However the page now refreshes itself and the grid scrolls back to the top.
Is there anyway to prevent this happening, ie preserve the scroll position
of this grid after you move to a different row?