column properties vs table properties

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!

2 Replies

AD Administrator Syncfusion Team December 17, 2005 09:52 AM UTC

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


AD Administrator Syncfusion Team December 17, 2005 10:03 AM UTC

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

Loader.
Up arrow icon