Grid view scroll position lost for the following 2 scenario:
1. at grid view, scroll down and select a row so that part of the list is cut off from the top. open another window and comback, the list scroll back to top and the selected row is not visible until you scroll down to it. 2. at grid view, scroll down and select a row so that part of the list is cut off from the top. toggle to form view and back, the list scroll back to top and the selected row is not visible until you scroll down to it. Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2979746
This commit is contained in:
parent
8d75aa84ee
commit
d2c63f6e70
|
@ -465,6 +465,13 @@ public class GridPanel extends Borderlayout implements EventListener
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* scroll grid to the current focus row
|
||||
*/
|
||||
public void scrollToCurrentRow() {
|
||||
onPostSelectedRowChanged();
|
||||
}
|
||||
|
||||
private void focusToRow(org.zkoss.zul.Row row) {
|
||||
if (renderer.isEditing()) {
|
||||
if (columnOnClick != null && columnOnClick.trim().length() > 0) {
|
||||
|
|
Loading…
Reference in New Issue