StrataFrame Forum

ComboBox with 2 columns

http://forum.strataframe.net/Topic29802.aspx

By Ger Cannoll - 3/29/2011

I have a ComboBox , populated from a BO, that has two columns, a Code and Description. The Code is the datasource and is written away. I have the dropdown style set to DropDownList and display two columns, the code and description. So for example:

IRL   , Ireland
USA,Unites States
MEXIC, Mexico


The only way I can get these to display nicely in the dropdown, as a comma is used as a separator, is to have a Non Proportional Font , like Courir New.

Is there a way to show the two columns in the dropdowm as you would see them in a grid, i.e. as two separate columns, so that I dont have to use a different front for my dropdowns compared to all other controls