Page 1 of 1

Sort subfile grid via javascript call?

Posted: Wed Apr 29, 2015 11:06 am
by jwurst
If the feature is turned on then subfiles can be sorted by clicking on the column headers. Does anyone know if it is possible to do this via javascript, like from a button or other javascript event, instead of only from the user's mouse click? It seems like it should be possible since the PUI is using javascript to do the sorting, but I don't know how to make it run that call.

Thanks!

Re: Sort subfile grid via javascript call?

Posted: Thu Apr 30, 2015 1:27 pm
by Scott Klement
We currently don't have an API to do this, but it's something we could add pretty easily...

Re: Sort subfile grid via javascript call?

Posted: Fri May 01, 2015 11:15 am
by jwurst
I've got it working now by going back to the program to do the sorting. That causes a little lag so it isn't as good as doing it all in js. If you did add it then we'd probably come back around and use it eventually.