Server side sorting

Hello. Is there a snippet available that implements server-side sorting in which the sort caret still exists? Using beforeColumnSort hook and returning false prevents the caret from rendering.

Hi @anthony.agostino

We don’t have any server-side examples, but in general in this case you would also need to use the plugin’s methods like, getSortConfigand setSortConfig.

There’s actually an example here

But returning false turns off the sort carets, making it pretty difficult to use. Is there any way to get the carets to show?

It seems the only way is re-render the entire table.

Hi @anthony.agostino

If you already have some implementation of this solution please share it. It will be easier to work this way.