onBeforeSort/onAfterSort with sort:server

Event does not fire when i use

sort: “server”

is that intended?

This is a known limitation
Hopefully it will be fixed in the next update

in this case this might be useful in the documentation…cost me some hours on debugging 8-}

Hello Everyone,

i’m facing the same problem. I want to prevent sorting in DataTable when onBeforeSort Event returning false. But this is not the case.

See: https://snippet.webix.com/2x5mpxdi


The issue hasn’t been fixed yet. Thank you for reminding us.
Currently, as a workaround, try to use onHeaderClick event. When return false, all further actions would be prevented.
Please, check the snippet here: Code Snippet

Kind regards