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

Please help: DropDownGrid datasource

Thread ID:





10091 Jan 22,2004 09:13 AM UTC Jan 22,2004 12:31 PM UTC WinForms 3
Tags: GridControl
Alre Thomas
Asked On January 22, 2004 09:13 AM UTC

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 09:36 AM UTC

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 10:31 AM UTC

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 12:31 PM UTC

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.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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