Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0, EE-3.0.0.GA, 3.1
-
Fix Version/s: EE-3.0.0.GA_P01, 3.2
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Any browser
-
Workaround Exists:Yes
-
Workaround Description:Without Ajax re-rendering the datatable the scroll position remains the same. Often not an option to remove f:ajax though.
Description
When an ace:dataTable has scrollable="true" and a re-render happens on the page (from f:ajax or ace:ajax, for example) the scrollbar will reset to the top of the viewport.
This is an issue when custom editing or selection is done on the rows that prompts an f:ajax call. The user might be scrolled to the bottom of a big table, select a row, and have the scrollbar reset back to the top.
Ideally the scroll state would be saved/restored by the ace:dataTable.
This is an issue when custom editing or selection is done on the rows that prompts an f:ajax call. The user might be scrolled to the bottom of a big table, select a row, and have the scrollbar reset back to the top.
Ideally the scroll state would be saved/restored by the ace:dataTable.
Assigning to Nils as per email thread.