I'm using smartgwt 2.5 but I don't think this is specific to a version.
I have a custom DS (RPC like) bound to a ListGrid. The data is fetched automatically (let's call this v1). When I edit the grid data (v2), the DS is updated, passed to the server and returns as the new data (v3). The grid is properly notified (v3 is visible now). When a new update is detected (v4), the oldValues are filled properly with the data (in v3).
This is what I expect to happen with DynamicForms also. But the oldValues always seem stuck at V1. It's as if when the new data is received, the oldValues aren't updated with V3 like what happens in the ListGrid.
I suspect there is something else that must be done with DFs but I am not sure.
Anyone has an idea what's happening? Thanks!
I have a custom DS (RPC like) bound to a ListGrid. The data is fetched automatically (let's call this v1). When I edit the grid data (v2), the DS is updated, passed to the server and returns as the new data (v3). The grid is properly notified (v3 is visible now). When a new update is detected (v4), the oldValues are filled properly with the data (in v3).
This is what I expect to happen with DynamicForms also. But the oldValues always seem stuck at V1. It's as if when the new data is received, the oldValues aren't updated with V3 like what happens in the ListGrid.
I suspect there is something else that must be done with DFs but I am not sure.
Anyone has an idea what's happening? Thanks!