Hi,
I experienced some strange behaviour of ListGrid when using following combination of properties.
ListGrid dataGrid = new ListGrid();
dataGrid.setGroupByField("field1");
dataGrid.setGroupStartOpen(GroupStartOpen.ALL);
dataGrid.setAutoFetchData(true);
dataGrid.setShowFilterEditor(true);
dataGrid.setFilterOnKeypress(true);
DataSource ds = DataSource.get("DataSource_Test");
ds.setWillHandleAdvancedCriteria(true);
dataGrid.setDataSource(ds);
dataGrid.draw();
First problem is entering text to filter. After each keypress the filter is applied to data but previously entered text is selected. This means, that you can't enter whole word because after each few keypreses previously entered text is rewritten.
Second problem is when I use date filter. After entering date to filter, listGrid starts infinite refreshing.
I experienced this problems only if I use grouping in combination with filterOnKeypress=true. (IE9 and Chorme)
FF4 with no problem.
I experienced some strange behaviour of ListGrid when using following combination of properties.
ListGrid dataGrid = new ListGrid();
dataGrid.setGroupByField("field1");
dataGrid.setGroupStartOpen(GroupStartOpen.ALL);
dataGrid.setAutoFetchData(true);
dataGrid.setShowFilterEditor(true);
dataGrid.setFilterOnKeypress(true);
DataSource ds = DataSource.get("DataSource_Test");
ds.setWillHandleAdvancedCriteria(true);
dataGrid.setDataSource(ds);
dataGrid.draw();
First problem is entering text to filter. After each keypress the filter is applied to data but previously entered text is selected. This means, that you can't enter whole word because after each few keypreses previously entered text is rewritten.
Second problem is when I use date filter. After entering date to filter, listGrid starts infinite refreshing.
I experienced this problems only if I use grouping in combination with filterOnKeypress=true. (IE9 and Chorme)
FF4 with no problem.
Comment