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.
Unfortunately, activation email could not send to your email. Please try again.

Static cell contents deleted

Thread ID:

Created:

Updated:

Platform:

Replies:

2643 Feb 6,2003 11:17 AM Feb 6,2003 02:49 PM Windows Forms 1
loading
Tags: GridControl
Rachel York
Asked On February 6, 2003 11:17 AM

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 02:49 PM

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

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.

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.

;