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 GridListControl

Thread ID:

Created:

Updated:

Platform:

Replies:

62579 Jun 18,2007 09:43 PM UTC Jun 19,2007 02:05 PM UTC WinForms 2
loading
Tags: GridControl
Dargon
Asked On June 18, 2007 09:43 PM UTC

Hi,
I have GridListControl which has multicolumn DataTable as a datasource. I want to make the last column editable. I tried to set gridList1.Grid.ReadOnly=false; but it does not work.

Is it any way to do it?

Thanks,
Dargon

haneefm [Syncfusion]
Replied On June 18, 2007 11:10 PM UTC

Hi Dargon,

There is no built-in support for Editable GridListControl.If you want to do this, you need to go for Custom CellType. A custom CellType can be created, it requires a model class and a renderer class. The model class handles the serialization requirements for the control and creates the renderer class. The renderer class handles the UI requirements of the cell. This sample in \Syncfusion\Essential Studio\4.1.0.10\windows\Grid.Windows\Samples\In Depth\DerivedCellControlTutorial can be referred.Please look at the sample for more detail

After creating the custom celltype, it has to be registered through CellModels.Add

this.gridControl1.CellModels.Add("GridListEdit", new GridListEditCellModel(this.gridControl1.Model,new GridListEdit()));

Then you may use
style.CellType = "GridListEdit";

Please refer to the attached sample for implementing it.
GridListEditSample.zip

Best Regards,
Haneef

Dargon
Replied On June 19, 2007 02:05 PM UTC

Thanks for reply, Haneef.
Dargon

>Hi Dargon,

There is no built-in support for Editable GridListControl.If you want to do this, you need to go for Custom CellType. A custom CellType can be created, it requires a model class and a renderer class. The model class handles the serialization requirements for the control and creates the renderer class. The renderer class handles the UI requirements of the cell. This sample in \Syncfusion\Essential Studio\4.1.0.10\windows\Grid.Windows\Samples\In Depth\DerivedCellControlTutorial can be referred.Please look at the sample for more detail

After creating the custom celltype, it has to be registered through CellModels.Add

this.gridControl1.CellModels.Add("GridListEdit", new GridListEditCellModel(this.gridControl1.Model,new GridListEdit()));

Then you may use
style.CellType = "GridListEdit";

Please refer to the attached sample for implementing it.
GridListEditSample.zip

Best 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.

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

;