disable cell editor for GridGroupingControl

Hi,

I am using GridGroupingControl to display data in my project. I want my data to be read only. I have gone through each column to set ReadOnly to true as well as the TableModel

gridPrice.TableDescriptor.Columns[i].ReadOnly = true;
gridPrice.TableModel.ReadOnly = true;

They did become readonly. However the editors are still active. Ex. my Date cell still drop down the datatimepicker. Is there anyway to disable the cell editors? I don't want my grid to be disabled since I still want the rows to be selectable.

Thanks,
Jenny


2 Replies

HA haneefm Syncfusion Team August 3, 2007 11:07 PM UTC

Hi Jenny,

Try setting the Clickable property of the column to false in a grid and let me know if this helps.

gridPrice.TableDescriptor.Columns[i].Appearance.AnyRecordFieldCell.Clickable = false;

Best regards,
Haneef



YA yan August 6, 2007 03:58 PM UTC



>Hi Jenny,

Try setting the Clickable property of the column to false in a grid and let me know if this helps.

gridPrice.TableDescriptor.Columns[i].Appearance.AnyRecordFieldCell.Clickable = false;

Best regards,
Haneef



Hi Haneef,

Thanks for your help. I have tried to set the clickable to false. However it still does not work.

Jenny

Loader.
Up arrow icon