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.

column properties vs table properties

Thread ID:





38744 Dec 16,2005 05:32 PM Dec 17,2005 05:03 AM Windows Forms 2
Tags: GridControl
Eric Weber
Asked On December 16, 2005 05:32 PM

I''m currently setting the following properties on a GGC. grid.TableOptions.ListBoxSelectionCurrentCellOptions = GridListBoxSelectionCurrentCellOptions.WhiteCurrentCell; grid.TableModel.Options.ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll; grid.TableModel.Options.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.AlwaysVisible; But I really only want these settings to apply to 2 columns. All of the other columns are read only and clicking in the cells should have no effect. How do I turn on/off these same properties for specific columns? thanks!

Administrator [Syncfusion]
Replied On December 17, 2005 04:52 AM

Try setting this property on those columns to see if it does what you want. .TableDescriptor.Columns["columnName"].Appearance.AnyRecordFieldCell.Enabled = false;

Administrator [Syncfusion]
Replied On December 17, 2005 05:03 AM

That should be: grid.TableDescriptor.Columns["columnName"].Appearance.AnyRecordFieldCell.Enabled = false;


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.