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.

cell read only in griddataboundgrid

Thread ID:

Created:

Updated:

Platform:

Replies:

62434 Jun 14,2007 01:58 PM Jun 14,2007 02:47 PM Windows Forms 1
loading
Tags: GridControl
Zheng Lin
Asked On June 14, 2007 01:58 PM

Hi,
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.

zheng

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

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,
Haneef

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.

;