Help

cannot read in manual order in scripting extension

Solved
Jump to Solution
941 3
cancel
Showing results for 
Search instead for 
Did you mean: 
gilles_prevotal
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi community,

I have this problem : 

In a grid view, a table is sorted manually. After each opening, the order is kept.

A script fetches the records of the table, and delivers them in alphabetical order, not in the manual order.

I don't add any sort param - like 'sorts: [ {field: "someField"} ]' -

I cannot figure out a 'handy' workaround... The option to read on a sorted priority field quickly becomes tedious, time consuming, and requiers a lot of energy...

Thanks in advance if you can let me know how i can workaround this behavior.

1 Solution

Accepted Solutions

Might want to try view.selectRecordsAsync then

See Solution in Thread

3 Replies 3

Hm, so you're doing view.selectRecordsAsync and you don't get the displayed order?

Hi,

No since it was intended to be as 'raw' as possible, i just use 

await myTable.selectRecordsAsync...

 

 

Might want to try view.selectRecordsAsync then