Categories | Question details Back To List | ||
Refresh not working Here is the code iam using to refresh the grid after save. The problem is that the only one column values are being refreshed but the values for the other columns are not changing. What am I doing wrong? myDataProcessor.setOnAfterUpdate(function(){ mygrid.clearAll(true); mygrid.updateFromXML("Get.aspx",calculateFooterValues);}); Answer posted by Support on Aug 22, 2008 02:52 updateFromXML command purposed to be used against existing dataset, without recreating grid structure, as in yout case The next code will work more stable myDataProcessor.setOnAfterUpdate(function(){ mygrid.clearAll(true); mygrid.loadXML("Get.aspx",calculateFooterValues);}); Answer posted on Aug 22, 2008 07:36 I tried using loadXML too but the problem still persists. What could be the possible reasons for this behaviour?? Answer posted by Support on Aug 25, 2008 02:56 In case of combination of clearAll and loadXML - all dataset fully reloaded, there is no way to preserve old data. If you are using dynamic server side data source - problem can be caused by caching, you can try to use grid.preventIECaching("true") or configure server side code to send headers necessary to prevent caching. |