Scenario:
A listgrid is updated frequently by automated processes, i.e. some values are changed for existing records using the following code:
So a new record but with the same primary key is added locally on the client, which replaces the existing one. All listgrids using this DS are automatically updated accordingly.
Now there is a problem if the update happens while the user is in the process of draggin records from a listgrid that uses this DS.
In case of an update, selected records that are updated are deselected and all dragging operations containing these records silently fail, i.e. no onDropHandler is invoked for the target.
Can this be fixed?
Thanks
fatzopilot
SGWT 2.4, Firefox 4.01., Chrome 11
A listgrid is updated frequently by automated processes, i.e. some values are changed for existing records using the following code:
Code:
DSRequest requestProperties = new DSRequest(); requestProperties.setAttribute("clientOnly", true); ds.updateData(someNewRecordWithExistingPrimaryKey, someCallback, requestProperties);
Now there is a problem if the update happens while the user is in the process of draggin records from a listgrid that uses this DS.
In case of an update, selected records that are updated are deselected and all dragging operations containing these records silently fail, i.e. no onDropHandler is invoked for the target.
Can this be fixed?
Thanks
fatzopilot
SGWT 2.4, Firefox 4.01., Chrome 11
Comment