Closed Romano83 closed 9 years ago
And if you try to order your table, already in your sql statement?
@Romano83 In the initFilters($query) method do something like $query->order(['column_from_header' => 'DESC']);
@IonutPerfectWeb Thanks for your reply. It's work fine !
I try to implement default order to my columns but it doesn't seems to work. I add this in headers' declaration:
I tried to replace
'desc'
by'asc'
,true
orfalse
with no success...Columns are always order by ID, not by name. Any idea to fix this issue ?