We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SaveCellInfo + ResetVolatileData

Thread ID:





41130 Feb 22,2006 09:38 PM UTC Feb 23,2006 11:22 AM UTC WinForms 1
Tags: GridControl
Hui Zhong
Asked On February 22, 2006 09:38 PM UTC

I have one problem with SaveCellInfo()event for virtual grid. Please see the attached example code. Our intention is to change the one cell''s data in the SaveCellInfo() event, and change the another cell''s data in the datatable. And then call ResetVolatileData() to update the grid data. However, ResetVolatileData() not working. When you set a debug point at ResetVolatileData(), and test this function by going through this debug point. Then refresh is working in this scenario. Please instruct how to get ResetVolatileData() working in this case. Thanks.


Administrator [Syncfusion]
Replied On February 23, 2006 11:22 AM UTC

Hi Hui, The ResetVolatileData method is used to reset properties like the row count and column count. In order to display the changes in the datasource, the methods like refresh, refreshrange and invalidate are to be used. For this scenerio, try setting the refreshcurrentcellbehaviour to refreshrow in the form load event to see if it helps or go for above mentioned methods in the savecellinfo event. Below is the code snippet to resolve the issue // In Form1_Load event this.gridControl2.RefreshCurrentCellBehavior = GridRefreshCurrentCellBehavior.RefreshRow; Best Regards, Madhan.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon