Hi,
I ran into an issue with SmartClient 9.0 (patched version, 2013-11-18), where a ListGrid (or TreeGrid) scrolls back to the top when users scroll down. It happens when you click the first row, scroll down so that a next page is fetched, and after fetchData has completed it seems to be scrolling to get the focussed row visible.
This happens only with paging enabled, or a TreeGrid with lazy loading (when you click the plus sign, it loads children and then it scrolls to the selected record).
I can't figure out what's causing this, a workaround was to 'break' the focus so that it won't jump back to the focussed row:
but that's not a proper solution of course.
It seems to happen with the latest patched version (tried 2013-11-18) on Windows and Mac in Chrome and Firefox, but it does not occur on the release date of SC 9.0 (2013-07-03).
Any idea what's causing this behavior?
Thanks in advance!
I ran into an issue with SmartClient 9.0 (patched version, 2013-11-18), where a ListGrid (or TreeGrid) scrolls back to the top when users scroll down. It happens when you click the first row, scroll down so that a next page is fetched, and after fetchData has completed it seems to be scrolling to get the focussed row visible.
This happens only with paging enabled, or a TreeGrid with lazy loading (when you click the plus sign, it loads children and then it scrolls to the selected record).
I can't figure out what's causing this, a workaround was to 'break' the focus so that it won't jump back to the focussed row:
Code:
isc.ListGrid.create({ .... bodyProperties: { setFocus: function() { } } .... });
It seems to happen with the latest patched version (tried 2013-11-18) on Windows and Mac in Chrome and Firefox, but it does not occur on the release date of SC 9.0 (2013-07-03).
Any idea what's causing this behavior?
Thanks in advance!
Comment