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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

cell read only in griddataboundgrid

Thread ID:





62434 Jun 14,2007 05:58 PM UTC Jun 14,2007 06:47 PM UTC WinForms 1
Tags: GridControl
Zheng Lin
Asked On June 14, 2007 05:58 PM UTC

I am using griddataboundgrid to display a data table by assigning the data table to be its data source. This table is meant to be read only, so I am trying to turn off that "focus" effect whenever a cell is selected, it makes it seems as if the user can type in it even though they cannot.

Thanks for the help.


haneefm [Syncfusion]
Replied On June 14, 2007 06:47 PM UTC

Hi Zheng,

You can try setting TableStyle.CellType to "Static" to turn off the editing cursor in a cell. Please let me know if this helps.

this.grid.TableStyle.CellType = "Static";
this.gridDataBoundGrid1.Model.Options.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.HideAlways; //Turn off focus rectangle

Best regards,


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