Hi all. I have a datatable with value from a db table. Ordering this is easy but now I have a data column in the omines datatable with a value that comes from a method and not from a table column. On load it will be shown correctly but I what to order this column. But it didn't work
It does not sort for admin boolean but for the user.id... but how to config this so it will be sorted for admins! Is there an example how to handle this kind of problem?
In the default Doctrine adapter the sorting is done on the query level, so you cannot interfere based on rendering of course, it would break filtering and pagination. Consider using a custom adapter instead.
Hi all. I have a datatable with value from a db table. Ordering this is easy but now I have a data column in the omines datatable with a value that comes from a method and not from a table column. On load it will be shown correctly but I what to order this column. But it didn't work
It does not sort for admin boolean but for the user.id... but how to config this so it will be sorted for admins! Is there an example how to handle this kind of problem?
Thanks a lot Michael