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

Pressing delete will clear header and static cells

Thread ID:

Created:

Updated:

Platform:

Replies:

30596 Jun 21,2005 05:10 AM UTC Jun 21,2005 07:26 AM UTC WinForms 1
loading
Tags: GridControl
Christian Rattat
Asked On June 21, 2005 05:10 AM UTC

Hi, I''m using the GridControl 3.0.1.0. When I select a bunch of cells and there are static cells or header cells included and then I press the delete key, the cells are entirely cleared. I did not find any event where I can prevent this. For my purposes the best was to either configure for each cell if it can be cleared or an event where I can decide on a per cell basis whether a cell will be cleared or not. Is there anything like that? Regards, Chris

Administrator [Syncfusion]
Replied On June 21, 2005 07:26 AM UTC

To prevent a cell in a GridControl from being cleared when you press delete, you can set its style.ReadOnly property to true. grid[0,2].ReadOnly = true;

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

;