sortOrder property on dates Perspective Table

Hi!

Having problem with this:

The custom:

How I set up sortOrder:

Even setting the column to sort enable, descending and configuring sortOrder the table doesn't get sorted. Not sure what I'm doing wrong.

Any help is appreciated.
Thx!

If you hit the play button, does it still not sort?

image

Is does not sort. Even in the browser.

Are all of your columns defined with a field assigned to them?

2 Likes

Nope, only the column that I want.
Should I try to configure all of them? It makes little sense

If props.columns is empty or invalid, the table falls back to auto-interpreting props.data as best it cal.

If props.columns is present and valid, the columns it defines are the only columns that will be displayed in the table.

Define them all. Make sure each definition identifies the proper content in props.data.

1 Like

In the documentation, it states:

”In addition, each object under columns must have the field setting set to the data item under the data property”

Here:

2 Likes