Stagiaire_v2
10 months ago
269
3
Laravel

Sort a column of calculated value

Posted 10 months ago by Stagiaire_v2

Hello everyone,

I have a problem with my project, actually I use kyslik/columnSortable to sort my different columns, but it only works with data from my DB.

I'm referencing materials and in the list, I have a column with calculated value and I don't know how I can sort them by 'ASC' or 'DESC'. My calculated value are integer if this can help find a solution.

Thanks in advance.

Please sign in or create an account to participate in this conversation.