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.

Please help: DropDownGrid datasource

Thread ID:

Created:

Updated:

Platform:

Replies:

10091 Jan 22,2004 04:13 AM Jan 22,2004 07:31 AM Windows Forms 3
loading
Tags: GridControl
Alre Thomas
Asked On January 22, 2004 04:13 AM

Hi there, I am in need of an answer: I have a DataBoundGrid with a column that is of style "DropDownGrid". When I click on the arrow a new grid appears that looks exactly like the parent grid. what I need is a way to change the datasource/data of the new child grid without it having anny effect on the parent grid. Please help. Regards Alre

Administrator [Syncfusion]
Replied On January 22, 2004 04:36 AM

Take a look at the Syncfusion\Essential Suite\Grid\Samples\In Depth\DropdownGrid sample. It drops different GridControls, but you can use the same celltype to drop GridDataBoundGrids if you like.

Alre Thomas
Replied On January 22, 2004 05:31 AM

Not what I was looking for... to completely overide syncfusion classes was exactly what I was trying to avoid. There must have been some logic behind creating a "dropdowngrid" style in the first place, I refuse to believe that they created that functionality without thinking that somebody want to change the data on it! Anybody, please help...

Administrator [Syncfusion]
Replied On January 22, 2004 07:31 AM

Actually that is the case. The DropDownGrid cell type uses the GridDropDownGridCellModel/GridDropDownGridCellRenderer classes which are the base classes in for the celltpye in the sample I referred you to. These classes are harded coded to just reproduce the same grid, and were intended are base classes for derived cells that could be modified to display any type of grid. To get things to work, you would need to override the CreateInnerControl method in the renderer and return the grid you want to embedded. To get the celltype you want, you would have to derive these classes and do the work. Or, you can copy and paste the code from that sample to your project. We can make this a feature request to move the sample code (or something equivalent) into our library.

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.

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.

;