Skip to main content

Is it possible to reorder a model or a table based on a field with javascript?

After adopting a bunch of rows into a model, I want to order by a date field.

Matt did you ever come a solution for this?

I’d prefer to use a skuid-like solution before importing a table library.


No that I recall. Sorry.

In principal, you could store the javascript rows object in a variable, reorder them in javascript, remove all the rows from the model, and add the rows from the reordered object variable.


Actually, that’s brilliant! Would you use adoptRows to accomplish this?


yep, that sounds right to me.


Reply