I use ordering by multiple columns:
$opt[“multiSort”] = true;
I would like to add one specific colmun to the end of the column list selected by user. For instance if the user clicks Title and then Department, I want the final order by clause to be:
order by title, department, id
I tried to set:
$grid[“sortname”] = ‘id’;
But it seems to end up as:
order by id, title, department
Is there some way to do it other way round?
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?