This is a migrated thread and some comments may be shown as answers.

Multiple columns in the listbox

1 Answer 189 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 2
Edward asked on 17 Dec 2012, 08:32 PM
Hi

I have a listbox with a checkbox column (checkbox and a label). I want it wrapped in two columns,  Is it possible to have multiple columns in the list view?   

like:

checkbox 1  label 1 checkbox 2  label 2 checkbox 3  label 3 checkbox 4  label 4 checkbox 5  label 5 checkbox 5  label 5 checkbox 6  label 6 checkbox 6  label 6

Perhaps this is not the right control to achief this

Thanks!

1 Answer, 1 is accepted

Sort by
0
Accepted
Vladi
Telerik team
answered on 20 Dec 2012, 11:08 AM
Hi Edward,

In RadListBox there isn't a built-in feature to enable showing of items in multiple columns but it should be easily achieved. You will need to set the ItemsPanel of the control to a RadWrapPanel, set the ListBox Width to the total size of two items in the control an set the WrapPanel's Orientation to Horizontal. This would cause the ListBox control to display its items in vertical columns.

Hope this is helpful.

All the best,
Vladi
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ListBox
Asked by
Edward
Top achievements
Rank 2
Answers by
Vladi
Telerik team
Share this question
or