Table sort not working when using datastore

Can’t get sort to work when using datastore. There are no errors in developer console.

image

Any help would be grateful to see if I’m doing something wrong.

Ray.

@Teodor @George - Is there a way to sort a Datastore? I can’t find any properties where I can pass the sort and dir variable to the Datastore?

Thanks, Ray.

Ray, for filtering and sorting the data on the client side use the Data View component …

Hi Teodor.

The Dataview does not allow you to pass a variable for direction? It’s a select from the properties list.
image

Ray.

Ray, there are dynamic attributes available for changing such things dynamically.

OK, let me have a look. Thanks for the reply.

Hi Teodor,

OK, I see it now.
image
There are just so many new features that I think the https://docs.wappler.io/ is just missing some of this info.

I don’t mind helping out where possible if you need screenshots and info to go with them.

Ray.

The Data View component is nothing new actually, it has been available before Wappler - as a DW extension.
You can use the table generator with data view, the same way as you are using it with a server connect.