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
close icon

Disable Cells in GridDataBoundGrid Control

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

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon