Hey there,
So I’m working on a feed from a third party that is sending me regular updates and I would like to add it as the first item in a param array instead of the end. In javascript, unshift will do this. Is there a way for me to push to the top of a param array? Like params.unShiftValue(‘oid’, ‘This text’); Right now I’m adding to the array by using params.getElementCount and using that as the element id when adding a value. This obviously puts it at the end. I’m experimenting with getAllValues, then using the javascript unshift then setAllValues to put it back but that seems really inefficient when I’m expecting multiple message in a second in some cases.
An alternative would be just a way to reverse sort a table widget. The goal is just to show the newest message at the top of the list.
Thanks!