Problem with aasorting

Problem with aasorting

tkbtkb Posts: 1Questions: 0Answers: 0
edited October 2010 in General
Hi Allan,

A am very new to this. I was tring to explore the aaSorting option on a string type column where data contains like
_ABC
123
12ABC
ABCD

Here after ascending sorting, by default now it is coming in the following sequence


Number
Special Characters
Alphanumeric
Alphabet


I want to get result in the following sequence

Special Characters
Number
Alphanumeric
Alphabet

Can you please help me to achieve this.

Regards
TKB

Replies

  • santoshhk1santoshhk1 Posts: 12Questions: 0Answers: 0
    Hi,
    Is there any way we can sort columns in following order

    -Special Characters
    -Number
    -Alphanumeric
    -Alphabet


    Thanks.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    What you will need to do is to create a sorting plug-in which will do the kind of sort you want:

    Docs: http://datatables.net/development/sorting
    Examples: http://datatables.net/plug-ins/sorting

    Allan
This discussion has been closed.