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

Combo doesn't drop down in Data bound grid

Thread ID:





5869 Jul 22,2003 04:33 AM UTC Jul 23,2003 06:41 AM UTC WinForms 4
Tags: GridControl
Dave Hermans
Asked On July 22, 2003 04:33 AM UTC

For a project i have a databound grid control. This control can be in 2 states, consult or editing. When it goes into edit mode a field becomes a combobox. This works fine, but what it doesn't do is display a drop down list. I can't select another value. And i am sure it is filled up. Anyone know an answer to this? Thanks Dave

Administrator [Syncfusion]
Replied On July 22, 2003 05:16 AM UTC

I am not sure how you are trying to dynamically switch between a TextBox and a ComboBox celltype, but it may be simpler just to set the column to always be a ComboBox, and also set teh column's GridBoundColumn.StyleInfo.ShowsButtons property to GridShowButtons.ShowCurrentCell. This way, you would only see the button when the cell is current. To see the droppedlist, make sure the GridBoundColumn.StyleInfo.DataSource is set properly (& it has bee filled).

Dave Hermans
Replied On July 23, 2003 05:47 AM UTC

Clay, thanks for the feedback. I followed your advice as i was dynamicly switching between Textbox and combo. As it turns out my function wasn't returning any data, i fixed this and tataa, one combo droped. But now for the strange part. I have a second identical grid on the same form but with other data (delivery and redelivery). Now the second grid's combo won't drop down, altough this (same) function returns valid data. Is theire maybe a setting or something that can couse a combo not to drop? Maybe some small thing that is different from one or the other grid? Because the columns of the grids are bound with the same function wich takes the grid as a parameter. So in binding the columns their is no difference, only the data is different. Greets Dave

Administrator [Syncfusion]
Replied On July 23, 2003 06:21 AM UTC

There are settings that would prohibit a combobox from dropping, but by default they are not turned on. Some properties that might affect this are: StyleInfo.Enabled StyleInfo.Clickable StyleInfo.ShowButtons And, if you have an empty list, the dropdown would not show.

Dave Hermans
Replied On July 23, 2003 06:41 AM UTC

Clay, thanks for your fast answers, but i've found it. It was stupid realy, but then again witch bugs aren't..On the second Grid the controlleroptions property was set to SelectCells only. Once i added ClickCells to that it worked. (i noticed the difference between the two grids).. Thanks again, Dave


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon