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?
1 Answers
Hello,
I tried by intercepting jqgrid beforeRequest event but it’s causing further issues.
It’s not currently supported now.
Your Answer