Datagrid: How to change the value of “Task datagrid - sort” variable?

Hey i see that there is a variable “Task datagrid - sort” that controls the sorting of the data grid. How do I change the value of this data grid sorting variable?

image

I am trying to click on sort in the data grid and then have xano fetch the correct items in the right order (rather than use front end sorting).

I don’t think its exposed, but you can use some js to update it. Get its uuid and then do something like this

wwLib.wwVariable.updateValue('366cea80-d0f3-40b8-bd21-05d7c52201e9-sort', { test: 'testing' })

image