We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback
Essential JS2

Syncfusion jQuery based widgets are no longer in active development. Switch to our pure JavaScript based next generation Essential JS 2 library.

String number mixed case sorting

Thread ID:

Created:

Updated:

Platform:

Replies:

147665 Sep 18,2019 01:52 PM UTC Sep 19,2019 09:19 AM UTC jQuery 1
loading
Tags: ejGrid
Talha Mohsin
Asked On September 18, 2019 01:52 PM UTC

Dear Support Team,

We want to sort data in a grid. The sorted data is A1, A2, A3, A14, B1, B2, B13 etc.
But while sorting with ejgrid, the data is A1, A15, A2, A3 .......

Is there any way that we can sort it properly?

Regards,
Talha

Padmavathy Kamalanathan [Syncfusion]
Replied On September 19, 2019 09:19 AM UTC

Hi Talha, 

Thanks for contacting Syncfusion Forums. 

QUERY: String number mixed case sorting 
 
From your query we understand that you need to alphanumeric value in a specific manner.  

When we sort the value you have specified, it will be sorted like A1, A15, A2, A3 only. This is the behavior of alphanumeric sorting.  

In EJ1 Grid, we don’t have support for custom sorting. If you need to perform custom sorting, we suggest you to use EJ2 Grid. 

Please refer the below help documentation, 

If you have further queries, please get back to us. 

Regards, 
Padmavathy Kamalanathan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon