Rank: Advanced Member Groups: Member
Joined: 3/9/2010 Posts: 119
|
Doe's the listbox have the capability to display multiple columns? I would like to attach it to a combobox that would display the text from the 1st column.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The ListBox does not have a built-in multiple columns support per se. However it is template based. So you can put anything inside the list box's ItemTemplate to make it appears as two columns. You can take a look of the ListBox -> Features -> Item Template in the demo project as to how to do that.
The ComboBox's drop down can is also template based. So you do not have to have a ListBox there. For example, you can have a Grid there, thus gets the multi-column layout directly from the Grid. See ComboBox -> Features -> Drop Down Template sample for how to use this feature.
Thanks!
|