[Solved] QDataTable sort booleans
-
I have an issue with sort by boolean colums.
I solved problem by changing default sort function shown here like this:
if (typeof A === 'boolean' && typeof B === 'boolean') { return (( A === B ) ? 0 : A ? -1 : 1) * dir }
Am I alone with this issue?
-
Is your problem solved, or did you mean you tried to solve it?
Scott
-
My problem is solved for me.
https://github.com/quasarframework/quasar/issues/2460
Razvan said there is no problem here