Multi column sorting

Multi column sorting

ramgomramgom Posts: 2Questions: 1Answers: 1

Hello,

I'm trying to use the multi sorting capability using two columns and server side sorting, when I get the data in the server I always get the same order in the order array no matter how I select the columns column 0 is always the first one and column 1 is the second one, but I would like to sort first by the column I select, so if I select column 1 I expected it to be the first one in the array.

Am I missing something?

Thanks

This question has an accepted answers - jump to answer

Answers

  • ramgomramgom Posts: 2Questions: 1Answers: 1
    Answer ✓

    never mind I answered my own question

  • pastorjustinpastorjustin Posts: 10Questions: 1Answers: 0

    Want to tell us how? I am totally confused on how to sort when server side is enabled period...

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    Use the ORDER BY clause in your SQL.

    You've posted in a couple of threads on this topic. Could we keep it to just one so we can all track it a little easier?

    Thanks,
    Allan

This discussion has been closed.