Sort by multiple columns

QuestionsSort by multiple columns
jagan asked 6 years ago

How to add query to sort by multiple columns?
Ex: order by comapny asc, join_date desc

1 Answers
anavarro answered 6 years ago

$grid["sortname"] = 'column1 desc,column2 asc,column3';

Your Answer

10 + 1 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!