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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Occassional cell value change doe not seem to work (?)

Thread ID:

Created:

Updated:

Platform:

Replies:

59839 Apr 23,2007 08:46 PM UTC Apr 24,2007 02:21 PM UTC WinForms 3
loading
Tags: GridControl
Dave Wilkins
Asked On April 23, 2007 08:46 PM UTC

I know this sounds a little crazy, but we have a grid-based app that we change value in fequently. We were experiencing a problem when calling CellValue to set a value and then again with CellValue = "" to clear it. It wouldn't clear always clear. I tried setting the column style's value for this column to "" at startup. This seemed to help somehow, but I'm getting reports that it is still happening sporadically.

Has anyone experienced this or have a suggestion on what we're doing wrong?

Thanks

haneefm [Syncfusion]
Replied On April 23, 2007 09:09 PM UTC

Hi Dave,

You can try this code snippet to set the cellValue of the cell in a grid.

GridStyleInfo style = this.grid.Model[3,3];
style.CellValue = string.Empty;
this.grid.Model.SetCellInfo(3,3,style,Syncfusion.Styles.StyleModifyType.Override);

Best regards,
Haneef

Dave Wilkins
Replied On April 24, 2007 01:33 PM UTC

Thanks, Hanneef.

We tried that and we are still having problems. One additional bit of info is that when we update the cell (say from a '2' to a '1'), we often see a flickering between '1' and '2'. We have to look closely as it only changes to the past value briefly. This may account for why we think it is not changing to ' ' since it must be flickering to the old value.

We are doing NO processing when this flickering occurs. Is there some way I can trap this to make sure that it's not us?

Thanks,
Dave

>Hi Dave,

You can try this code snippet to set the cellValue of the cell in a grid.

GridStyleInfo style = this.grid.Model[3,3];
style.CellValue = string.Empty;
this.grid.Model.SetCellInfo(3,3,style,Syncfusion.Styles.StyleModifyType.Override);

Best regards,
Haneef

Dave Wilkins
Replied On April 24, 2007 02:21 PM UTC

Thanks for putting up with us. It was (as you probably suspected) us all along and NO PROBLEM WITH THE GRID.

The Grid Rules!!!

>Thanks, Hanneef.

We tried that and we are still having problems. One additional bit of info is that when we update the cell (say from a '2' to a '1'), we often see a flickering between '1' and '2'. We have to look closely as it only changes to the past value briefly. This may account for why we think it is not changing to ' ' since it must be flickering to the old value.

We are doing NO processing when this flickering occurs. Is there some way I can trap this to make sure that it's not us?

Thanks,
Dave

>Hi Dave,

You can try this code snippet to set the cellValue of the cell in a grid.

GridStyleInfo style = this.grid.Model[3,3];
style.CellValue = string.Empty;
this.grid.Model.SetCellInfo(3,3,style,Syncfusion.Styles.StyleModifyType.Override);

Best regards,
Haneef

CONFIRMATION

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.

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

;