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

[Solved] Where is the documentation on performing case insensitive sorting for Grid?

2 Answers 268 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Travis asked on 24 Sep 2014, 06:48 PM
Hi,

I've looked here: http://www.telerik.com/search?start=0&q=grid%2bcase%2binsensitive%2bsort&collection=telerik30&ResourceType=Forum&hgurl=kendo%252Dui

And in several linked posts there.

In this one, http://www.telerik.com/forums/how-to-enable-case-insensitive-sorting-on-kendo-ui-grid, it mentioned that this is now available as of end of 2013 or so.

However, I don't see it mentioned here: http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-columnMenu.sortable

Or here: http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-sortable

So, can anyone please advise on where exactly this documentation is? Thanks!

Trav

2 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Valchev
Telerik team
answered on 26 Sep 2014, 10:38 AM
Hello Travis,

Case insensitive sorting is enabled by default. Here is a demo showing it in action: http://jsbin.com/AvUQudU/1/edit

And here is how things looked when using an older version (Q1 2013): http://jsbin.com/aTinumIW/2/edit

Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Travis
Top achievements
Rank 1
answered on 26 Sep 2014, 03:54 PM
Thanks Alexander!

My question wasn't as clear as it could have been, as there'a difference between loading the widget with data sorted, and then performing column-header sorting. I've slightly updated that JS Bin as an example: http://jsbin.com/ruqeyirovilo/1/edit 

To answer my own, original question (in case others stumble upon this), docs for grid sorting are here: http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-sortable - but don't mention anything about case-insensitive (which is the default), nor how to switch that off. Docs for dataSource sorting are here: http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#configuration-sort



Tags
Grid
Asked by
Travis
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Travis
Top achievements
Rank 1
Share this question
or