Announcement

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

    SetEditValue in ListGrid, not saving

    I don't expect a response anymore ... but I'll post my question anyway.

    I have a grid and I can startEditingNew with some default values.
    I have one drop-down that affects another, and this all works as described.
    I have a ChangedHandler on my second drop-down, that gets the value (id) that I am looking for. The displayfield works great, so I can see a name, and as I said I can get the id, but then the id is still in the drop-down ... minor point.

    I use the ID from my second drop-down and I can setEditValue to a new value, the previous value being blank. I can refreshrow and see that the change is in that cell. When I call saveAllEdits, the GWT-RPC call expects two values to be non-null ... however, the value that I set with "setEditValue" is still coming across as null.

    I even did a getEditedRecord from the grid to make sure it had all the values I want and I show those in a label on the UI, so I know the values are there.
    This is NOT a problem with the datasource since I can create a new ListGridRecord, set the properties, and call Add, that all works fine.

    Any help on why a setEditValue does not work, why when I saveAllEdits, the value does not get into my DTO to be saved.

    Please, I need help with this. Thanks!

    #2
    I am having a same problem . any solutions ?

    Comment

    Working...
    X