Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Can't scroll down to new record in ListGrid

    Hi

    Environment
    1. SmartClient Version: SNAPSHOT_v8.3d_2012-06-12/LGPL Development Only (built 2012-06-12)
    2. browser IE9

    I add new record in ListGrid with values from form
    Code:
    grid.startEditingNew(editForm.getValues());
    grid.endEditing();
    The record is visible in grid but it's not possible to select it with arrow keys.
    Even when I click on it with the mouse another record remains selected.
    If I add code
    Code:
    grid.setEditEvent(ListGridEditEvent.CLICK);  
    grid.setListEndEditAction(RowEndEditAction.NEXT);
    like in showcase example
    http://www.smartclient.com/smartgwt/...diting_new_row
    then problem is going away. But I need disable grid edit at all.
    I am sure you will find the same bug in showcase as soon as you remove these 2 rows
    Code:
    countryGrid.setEditEvent(ListGridEditEvent.CLICK);  
    countryGrid.setListEndEditAction(RowEndEditAction.NEXT);
    Could you please fix it or suggest the correct approach to insert record in ListGrid without performing a DataSource "add" operation immediately?
Working...
X