Announcement

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

    ListGrid startEditingNew() not sending sever call if grid.setFilterLocalData is set to 'true'

    Hi Isomorphic;
    My SmartGWT version is: 'v11.0p_2017-02-11/PowerEdition Deployment (built 2017-02-11)'.
    My application is using SmartGWT + Spring + Hibernate.

    I have a listGrid where i am using grid.setData(recordList) to add data to the grid (no automatic fetch from DataSource).
    I have also set a dataSource to the grid and to add a new row i use grid.startEditingNew().

    Now if i set: grid.setFilterLocalData(true), grid.startEditingNew() create a row at client side but does not send 'add' call to server ans so row does not get added to the DB.
    Without grid.setFilterLocalData(true) it works fine.

    Could you please help on this?

    #2
    See docs:startEditingNew() does not send an "add" request to the server. The "add" request is only sent once the new record has been filled in by the user and passes validation, and the timing of the save depends upon settings such as autoSaveEdits and saveByCell.

    Comment

    Working...
    X