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.

Combobox cell problem

Thread ID:





12146 Mar 23,2004 05:53 AM Mar 25,2004 12:59 AM Windows Forms 7
Tags: GridControl
David Loomes
Asked On March 23, 2004 05:53 AM

Hi, I''ve been having a problem with a grid containing a column of combobox cells where I cannot select some of the items in the drop down list. For example I am using the cell to select an arithmetic operator (=, <>, <, <= etc) and for some reason it is impossible to select the ''<'' option even though it appears correctly in the drop down. The problem appears when the list is populated manually or from a DataTable in a data bound control. Any Ideas? David Loomes

Administrator [Syncfusion]
Replied On March 23, 2004 07:21 AM

There were problems of this nature in and earlier versions. Have you tried this in

Samuel Jack
Replied On March 23, 2004 08:20 AM

I''ve been having a similar problem and I am working with the latest release of the Grid.

Administrator [Syncfusion]
Replied On March 23, 2004 08:29 AM

Can you post a small sample project so we can see the problem here?

David Loomes
Replied On March 24, 2004 11:35 AM

>Can you post a small sample project so we can see the problem here? Clay, the problem seems to involve use of the Exclusive dropdown style. The following code produces the problem // build the set of allowed operators StringCollection OperatorChoices = new StringCollection(); OperatorChoices.AddRange(new string[] {"", "=", "<>", ">", ">=", "<", "<=", "Like", "IsNull", "IsNotNull"}); GridStyleInfo Style = grid.ColStyles[1]; Style.CellType = "ComboBox"; Style.CellTipText = "Operator"; Style.DropDownStyle = GridDropDownStyle.Exclusive; Style.CellValueType = typeof(string); Style.ChoiceList = OperatorChoices; You should find it impossible to select "<". Comment out the line that sets the DropDownStyle, and everything works fine. David Loomes

Administrator [Syncfusion]
Replied On March 24, 2004 02:55 PM

I tried your code in this project with both and, and was able to select the <. Do you see the problem in the sample? What version are you using?

David Loomes
Replied On March 25, 2004 12:27 AM

Clay, The sample project you sent shows the problem on my system - I cannot select or type ''<''. The release notes with my installation describes itself as version Is this the correct place to look? How can I get David Loomes

Administrator [Syncfusion]
Replied On March 25, 2004 12:59 AM

Yes, did have this problem. You can download 1.6.18 from your Direct Trac home page.


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.