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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Static cell contents deleted

Thread ID:





2643 Feb 6,2003 04:17 PM UTC Feb 6,2003 07:49 PM UTC WinForms 1
Tags: GridControl
Rachel York
Asked On February 6, 2003 04:17 PM UTC

I have a GridControl and have set the table style to be static. I cannot edit the values that i populate in the cells, however i can delete them using the delete key. Am i missing something? GridStyleInfo staticCell = new GridStyleInfo(); staticCell.CellType = "Static"; staticCell.ReadOnly = true; grid.TableStyle = staticCell; Thanks!

Administrator [Syncfusion]
Replied On February 6, 2003 07:49 PM UTC

You can handle the ClearingCells event and set e.Cancel = true when you do want avoid specified cells beeing cleared. I have to investigate further why the .ReadOnly setting is ignored in that case. This might be a bug and we'll have to fix that. Stefan


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

Live Chat Icon For mobile
Live Chat Icon