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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC : How can you add custom controls to cells in a grouping grid?

Thread ID:

Created:

Updated:

Platform:

Replies:

38912 Dec 21,2005 06:18 AM UTC Dec 28,2005 08:25 AM UTC WinForms 8
loading
Tags: Grouping
Anupama
Asked On December 21, 2005 06:18 AM UTC

My requirement is to add a DateTimePickerAdv (not the MonthCalendar) control to a particular column of a nested/child table. How can I do this?

stanleyj [Syncfusion]
Replied On December 21, 2005 10:00 AM UTC

Hi Anupama, You can create a custom CellType and then register that through TableModel.CellModels.Add, a sample we ship is \Syncfusion\Essential Studio\4.1.0.9\windows\Grid.Grouping.Windows\Samples\CustomCellTypes. There are many other samples implementing Custom CellTypes in other grids. Here is one sample, \Syncfusion\Essential Studio\4.1.0.9\windows\Grid.Windows\Samples\CellTypes\CalendarCells to get an idea of creating a CellType. Once the CellType is added through the CellModels then it can be used anywhere as like other CellTypes. Regards, Stanley

Anupama
Replied On December 21, 2005 10:53 AM UTC

This is fine for writing custom controls and adding them - for which I can write my own CreateRenderer functions etc? What about adding existing controls like DateTimePickerAdv? How will I get access to their GridCellModelBase object? I will not be able to do a gridGroupingControl1.TableModel.CellModels.Add without that. >Hi Anupama, > >You can create a custom CellType and then register that through TableModel.CellModels.Add, a sample we ship is \Syncfusion\Essential Studio\4.1.0.9\windows\Grid.Grouping.Windows\Samples\CustomCellTypes. There are many other samples implementing Custom CellTypes in other grids. Here is one sample, \Syncfusion\Essential Studio\4.1.0.9\windows\Grid.Windows\Samples\CellTypes\CalendarCells to get an idea of creating a CellType. > >Once the CellType is added through the CellModels then it can be used anywhere as like other CellTypes. > >Regards, >Stanley

Administrator [Syncfusion]
Replied On December 22, 2005 07:37 AM UTC

Hi Anupama, The GridGroupingControl supports the CellTypes that are specified in the below link. http://syncfusion.com/Products/product.aspx?p=5 The DateTimePickerAdv is a Control which has been shipped with the Microsoft Corporation and it is not a CellType that can be added to the grid. We have created MonthCalendar celltype for the users to have its functionality. But if you want to use the DateTimePickerAdv, you can add it with the Control CellType. Tell me if this helps you. Best Regards, Leo.

Administrator [Syncfusion]
Replied On December 22, 2005 07:56 AM UTC

Hi Anupama, Sorry for the typo made in the following line ''The DateTimePickerAdv is a Control which has been shipped with the Microsoft Corporation''. We regret for this error. The DateTimePickerAdv is one of our control and Month Calendar, a Microsoft Control for which a celltype has been created. You can also create a celltype with the DateTimePickerAdv based on the custom celltypes samples we ship. Let me know if you wish to have a sample with that custom celltype. Regards, Leo.

Anupama
Replied On December 22, 2005 08:15 AM UTC

Yes please. If you could send me a sample it will be great. >Hi Anupama, > >Sorry for the typo made in the following line >''The DateTimePickerAdv is a Control which has been shipped with the Microsoft Corporation''. > >We regret for this error. > >The DateTimePickerAdv is one of our control and Month Calendar, a Microsoft Control for which a celltype has been created. You can also create a celltype with the DateTimePickerAdv based on the custom celltypes samples we ship. > >Let me know if you wish to have a sample with that custom celltype. > >Regards, >Leo.

stanleyj [Syncfusion]
Replied On December 26, 2005 01:10 PM UTC

Hi Anupama, Sorry for the inconvenience caused. The custom celltype could not be used in the nested grid. This defect has been logged, here is the to the open issues. This is the Sample with DateTimePickerAdv control used as CellType. Best regards, Stanley

Anupama
Replied On December 28, 2005 04:28 AM UTC

Unforunately I need this control in the nested table. I guess I will just have to wait for the fix. Thanks >Hi Anupama, > >Sorry for the inconvenience caused. > >The custom celltype could not be used in the nested grid. This defect has been logged, here is the to the open issues. > >This is the Sample with DateTimePickerAdv control used as CellType. > >Best regards, >Stanley

stanleyj [Syncfusion]
Replied On December 28, 2005 08:25 AM UTC

Hi Anupama, I am sorry to say that as a bug, while it was not. The custom CellType can also be placed in the nested tables With some modifications in DateTimeCell.cs. Please refer the modified sample. Best regards, Stanley

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

;