Copy link to clipboard
Copied
I am using the multi-column list view (mclv) in a JavaScript dialog to display some records. Before I display the records in the grid I sort them based on a sequence field in each object of the array that populates the grid. On Mac, Acrobat displays the records in the correct order (the order in which they are in the JavaScript array) but on Windows the most recently added object to the array always displays at the top of the grid. I even tried cloning the array by sorting it, stringifying it, then parsing it back into a new JSON array and the result is the same. I know that the multi-column list view ("grid") is an undocumented feature but I'm hoping there is a way to control the display order on Windows.
Any suggestions?
Copy link to clipboard
Copied
It appears that on Windows, Acrobat automatically sorts the first column of a multi-column list view descending. Does anyone know a way to prevent this?