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.

read only

Thread ID:

Created:

Updated:

Platform:

Replies:

44611 May 30,2006 02:02 AM May 31,2006 09:18 AM Windows Forms 7
loading
Tags: GridControl
brijeshkhare
Asked On May 30, 2006 02:02 AM

i want only one column non editable grid grouping control because second column is a checkbox which we can not do not editable. i am setting the property dgDomainRename.TableDescriptor.Columns("DomainName").ReadOnly = True like that on form load but it is not working properly so plz tell me solution thanks

Administrator [Syncfusion]
Replied On May 30, 2006 03:05 AM

Hi brijeshkhare, Try this code dgDomainRename.TableDescriptor.Columns("DomainName").Appearance.AnyCell.ReadOnly = true Let me know if this helps. Best Regards, Haneef

brijeshkhare
Replied On May 30, 2006 09:21 AM

>Hi brijeshkhare, > >Try this code > >dgDomainRename.TableDescriptor.Columns("DomainName").Appearance.AnyCell.ReadOnly = true > >Let me know if this helps. >Best Regards, >Haneef i used this property but it is not working properly problem is that you can edit any cell of that column but when you will go another cell then it will show all text no problem means data will not be lost. so plz suggest me thanks

Administrator [Syncfusion]
Replied On May 30, 2006 09:53 AM

Hi, Colud you try this code in grid''s QueryCellStyleInfo event to make a cell as readonly cell. Here is a code snippet. private void dgDomainRename_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e) { if(e.TableCellIdentity.DisplayElement.Kind == DisplayElementKind.Record && e.TableCellIdentity.Column != null &&e.TableCellIdentity.Column.Name == "DomainName") { e.Style.ReadOnly = true ; } } Please let me know if this helps. Regards, Haneef

brijeshkhare
Replied On May 31, 2006 06:57 AM

>Hi, > >Colud you try this code in grid''s QueryCellStyleInfo event to make a cell as readonly cell. Here is a code snippet. > >private void dgDomainRename_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e) >{ > if(e.TableCellIdentity.DisplayElement.Kind == DisplayElementKind.Record && e.TableCellIdentity.Column != null &&e.TableCellIdentity.Column.Name == "DomainName") > { > e.Style.ReadOnly = true ; > } >} > >Please let me know if this helps. >Regards, >Haneef hi haneef thanks but this problem is not being solved

Administrator [Syncfusion]
Replied On May 31, 2006 07:08 AM

Hi, I have tested this issue by creating a sample in v.4.1.0.50/4.1.0.64 and then again tested by upgrading to 4.2. I was not able to reproduce the issue.Maybe I am not following the steps that you are doing. Attached sample working fine here. If you can provide more information, we can try to suggest some solution. Here is a sample. http://www.syncfusion.com/Support/user/uploads/PerformanceSample_992dddd7.zip Could you please run this at your end and let me know how it goes? Thanks for choosing Syncfusion Product. Best Regards, Haneef

brijeshkhare
Replied On May 31, 2006 07:53 AM

hi haneef thanks for your quick reply i run your sample in our machine but your application also have same problem .remember that i am using 3.2 version of syncfusion.

Administrator [Syncfusion]
Replied On May 31, 2006 09:18 AM

Hi, Sorry for the inconvenience caused. we are not able to reproduce the issue here. we have tried to reproduce this issue in the following environment: Windows XP with SP2, .NET 2.0/1.1 Framework and Essential Studio v3.2. Exactly what version of Windows XP are you using? Are you only installing Essential Grid or are you installing Essential Studio? Are you installing binaries only, or the source code version? What version of the .NET framework and VS are you using? Have you seen this on multipple systems? If you can provide more information, we can try to suggest some solution. Thanks for your patience. 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.

;