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

Disable Cells in GridDataBoundGrid Control

Thread ID:





21282 Nov 5,2004 02:50 PM UTC Nov 5,2004 04:38 PM UTC WinForms 1
Tags: GridControl
Lalit Parashar
Asked On November 5, 2004 02:50 PM UTC

How can I disable the cells in GDBG. I would be able to select the rows and columns but I don''t want cells to be disabled. I want the same property when I say Enabled = "false" but I would be able to select the rows and columns. Thanks, Lalit

Administrator [Syncfusion]
Replied On November 5, 2004 04:38 PM UTC

By selecting do you mean dragging the mouse and selecting ranges of cells (as opposed to clicking a single cell to make it the current cell). You can turn off the Cells an dCOlumns flags in the grid.AllowSelections property. This should prevent you from selecting cells and columns. If you do not want a click on the cell to make it the current cell, then you can handle the CurrentCellActivating event and set e.COlinDex = 0.


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