Order jqgrid by data that is not loaded into the grid?

amdish

New Member
When using jqgrid you can set the select statement via:\[code\]$grid->SelectCommand = $query\[/code\]However you cannot set the \[code\]ORDER BY\[/code\] here.jqgrid allows you to sort the grid on any column.If my DB table has a column called "cost" and I want my grid to be in order by cost but NOT show cost. Is there a way to do that?
 
Back
Top