ListView programmatically Order Columns

3 posts, 0 answers
  1. Mark
    Mark avatar
    109 posts
    Member since:
    Oct 2014

    Posted 17 Oct 2017 Link to this post

    I have a databound list, in which my object contains the following properties

    DOB
    FirstName
    LastName

     

    When I bind my times to the list view, the columns come out as 

    DOB       FirstName      LastName

     

    Is there a way to programmatically order the columns?

    FirstName     LastName    DOB

     

    TIA

     

     

  2. Mark
    Mark avatar
    109 posts
    Member since:
    Oct 2014

    Posted 18 Oct 2017 Link to this post

    Got my answer from another post...thanks
  3. Dess
    Admin
    Dess avatar
    2771 posts

    Posted 20 Oct 2017 Link to this post

    Hello, TIA,  

    Thank you for writing.  

    I am glad that you have a suitable solution for your case. However, have in mind that the Columns collection in RadListView introduces the Move method which allows the user to reorder the columns according to the requirements. 

    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top