Hi,
We used to have a network share with samba on linux servers, for managing some input/output files created and used by our genero programs.
Since the migration on the GAS, we had to re-think this functionality and we came up implementing a little windows like file manager.
We took inspiration from the fgl-file-browser demo shipped with the fgl setup. Screenshots attached.
We implemented most important feature like download, upload, create folder, rename and delete folders and files, but the "last modified" sort is still missing.
Also we would like to implement multi row selection for downloading files, and in the future drag and drop.
We would like to add sorting by "last modified" column without formatting the array field like yyyy/mm/dd because it wouldn't be clear to the user.
Since the display array dialog is not using paged mode because the directory content is loaded through java utilities, and the ONSORT block, in this mode, is only used to execute post-sort tasks, I can't actually handle myself the sort of the array.
I've read these topics:
http://4js.com/fjs_forum/index.php?topic=1289.0http://4js.com/fjs_forum/index.php?topic=1298.0I've also see this github example:
https://github.com/FourjsGenero/ex_browseviewsortI tried the workaround described in this message
http://4js.com/fjs_forum/index.php?topic=1298.msg4549#msg4549, but unfortunately when the ON SORT block is triggered, the actual program array programmatically sorted and the DISPLAY ARRAY re-executed, the client keeps track of the column sort so the program array is re-sorted graphically by the selected column.
Furthermore, I think the paged mode/ON FILL BUFFER doesn't fit well with multi row selection.
Any advice?
Thanks
Efisio