Hi,
I am using the smartGWT 2.2 RestfulDataSourceSample that comes with the Smart GWT Showcase. I have modified the example to FETCH data from a server rather than the static xml file. The FETCH operation works great and the data is loaded into the grid due to the .setAutoFetchData(true) setting. I have made the grid editable by setting the following methods to true on the grid:
countryGrid.setCanEdit(true);
countryGrid.setEditByCell(true);
countryGrid.setEditEvent(ListGridEditEvent.CLICK);
As a result, I am able to edit to the table. However, I cannot figure out how to get the updated values sent to the server side. What triggers the UPDATE operation, which would call the value set in the datasources .setUpdateDataURL method?
Thanks in advance for your help.
I am using the smartGWT 2.2 RestfulDataSourceSample that comes with the Smart GWT Showcase. I have modified the example to FETCH data from a server rather than the static xml file. The FETCH operation works great and the data is loaded into the grid due to the .setAutoFetchData(true) setting. I have made the grid editable by setting the following methods to true on the grid:
countryGrid.setCanEdit(true);
countryGrid.setEditByCell(true);
countryGrid.setEditEvent(ListGridEditEvent.CLICK);
As a result, I am able to edit to the table. However, I cannot figure out how to get the updated values sent to the server side. What triggers the UPDATE operation, which would call the value set in the datasources .setUpdateDataURL method?
Thanks in advance for your help.
Comment