Multiple columns in the listbox

2 posts, 1 answers
  1. Edward
    Edward avatar
    45 posts
    Member since:
    Aug 2005

    Posted 17 Dec 2012 Link to this post

    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!
  2. Answer
    Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 20 Dec 2012 Link to this post

    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.

  3. DevCraft banner
Back to Top