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

Edit cells

Thread ID:

Created:

Updated:

Platform:

Replies:

27945 Apr 20,2005 04:28 PM UTC Apr 20,2005 04:51 PM UTC WinForms 1
loading
Tags: GridControl
Dima
Asked On April 20, 2005 04:28 PM UTC

Hi, I''m using GridDataBoundGrid, Let''s say I have data source datatable with two Columns ''ID'' and ''Name''. I want to define ID as non editable field in the grid and ''Name'' as editable one . Is it possible?

Administrator [Syncfusion]
Replied On April 20, 2005 04:51 PM UTC

Try settig these properties on the column you want to be readonly: //if you have added GridBoundColumns this.grid.GridBoundColumns["ID"].StyleInfo.ReadOnly = true; this.grid.GridBoundColumns["ID"].StyleInfo.CellType = "Static"; //maybe do this??? //if you have not explicitly added GridBoundColumns this.grid.Binder.InternalColumns["ID"].StyleInfo.ReadOnly = true; this.grid.Binder.InternalColumns["ID"].StyleInfo.CellType = "Static"; //maybe do this???

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

;