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.

Combo Does not display list in GridGroupingControl 2.1

Thread ID:




29010 May 13,2005 11:54 AM General Discussion 0
Tags: General Discussion
Eric Robishaw
Asked On May 13, 2005 11:54 AM

I''m setting the colStyle as such: colStyle.DropDownStyle = GridDropDownStyle.Exclusive; colStyle.CellType = "ComboBox"; colStyle.DataSource = dataSource; colStyle.DisplayMember = displayMember; colStyle.ValueMember = valueMember; colStyle.CellValueType = typeof(int); --I''ve tried leaving this line off the datasource is an array of "NameValuePair" Objects struct NameValuePair { public Name {get;set;} public Value {get;set;} ... } The displayMember = "Name"; the valueMember = "Value"; my grid shows, and each column has drop downs, but... the the display shown is the value (DislayValue), not the Name (DisplayMember) and the combo doesn''t list anything (i.e., clicking the down-arrow of the combo doesn''t do anything). What am I doing wrong? Surely, I don''t have to set the ChoiceList right? That''s filled in automatically, right?


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.