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

Sorting Listview/DataSource

2 Answers 329 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
domiSchenk
Top achievements
Rank 1
domiSchenk asked on 20 Sep 2013, 12:57 PM
is there a way to sort a ListView or the DataSource?

don't want to use group because i don't need the title of it.
i'm getting the data from sqlite and i don't have sorting information in DB, i need to generate it first.

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan Dobrev
Telerik team
answered on 23 Sep 2013, 08:55 AM
Hi Dominik,

You can use the sort option of the DataSource's query. More information in the API reference here or in this online example.

Hope this helps.

-sdobrev

Big news for mobile app and .NET developers! Hear about it at our Release Keynote. Thursday, September 26th, 11AM EDT
Do you enjoy Icenium? Vote for it in Windows IT Pro Community Choice Awards as Best Cloud Computing Product or Service (Category 5).
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
domiSchenk
Top achievements
Rank 1
answered on 23 Sep 2013, 09:05 AM
Hi Stefan

Thanks a lot. Didn't see this sort option!

i had done it with group and  set km-group-title to   display: none; 

but i think sort works better and faster!
Tags
General Discussions
Asked by
domiSchenk
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
domiSchenk
Top achievements
Rank 1
Share this question
or