This is a migrated thread and some comments may be shown as answers.
ListView programmatically Order Columns
2 Answers 11 Views
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 2
Veteran
Mark asked on 17 Oct 2017, 06:47 PM

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 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 2
Veteran
answered on 18 Oct 2017, 04:17 PM
Got my answer from another post...thanks
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 20 Oct 2017, 09:36 AM
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.
Asked by
Mark
Top achievements
Rank 2
Veteran
Answers by
Mark
Top achievements
Rank 2
Veteran
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or