Skip to main content
Solved

cannot read in manual order in scripting extension

  • December 17, 2022
  • 3 replies
  • 32 views

Forum|alt.badge.img+5

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.

Best answer by TheTimeSavingCo

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

3 replies

TheTimeSavingCo
Forum|alt.badge.img+31

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


Forum|alt.badge.img+5

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...

 

 


TheTimeSavingCo
Forum|alt.badge.img+31

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