Data grid: possible to sort columns by backend?

It’s quite handy to have the ability to sort the columns in the data grid.

How do we sort it back-end though? Hope this makes sense. I need to pass the value back end for xano to do the sorting to display it in the data grid :slight_smile:

Hi @raelyn

You don’t need backend pagination, filtering or sorting with this new data grid. It uses DOM virtualization to only render items when needed, enabling you to work with thousands of items. Performance-wise, there are no impacts.

That’s interesting. So to clarify, I can “GET” a collection from Xano with thousands of items without needing to paginate? And bind it to the data grid as such?

My impression was that it would crash the browser.

Yes, that’s correct :slight_smile:

Ahh. Thanks Daniel. I have a question, what if there were multiple views? Example we have a data grid view and a Kanban Board view.

I am guessing Kanban, I have to paginate it back-end? Do I fetch the same collection twice to prevent browser crash? Haha