Attached is an outliner that runs of the web app server (WAS). Since grids can be displayed and run in an xdialog, and since an xdialog can be embedded in a form, you can easily run this sample on the desktop, as well. Mauricio Maisterrena gets credit for this outline as per this thread:
http://msgboard.alphasoftware.com/al....php?t=81075#6
I am posting this sample as I have been using "Maurico's" idea, since ver 5 on the desktop using the same basic principal in an embedded browse - essentially a flat file with recursive references. In the desktop version (which I am not posting here) you only see one outline level at a time, as drilling down or navigating up the "tree" essentially runs a simple query. Here, on this grid version, you can view the outline tree normally. As what is posted here is a very simple outline sample, it lacks the typical cut & paste features one would expect in an outliner. Such features would require some coding to make this outliner truly functional. It should also be noted that a database version of an outliner has some limitations in terms of ordering. In typical string-based outliners, you can promote/demote items on a given level, in a database, the order is fixed on a given field or expression. There are ways around this but it gets messy.
For a discussion of what prompted this post, see:
http://msgboard.alphasoftware.com/al...ad.php?t=84514
Note: If you are not conversant with the web side of Alpha, after you have unzipped and opened this sample application, open the web control panel from the regular controlpanel's toolbar. Make sure to turn on the application server - if you see a red icon in the toolbar, click it to green. In the web controlpanel, select "all files" and doubleclick "outliner". Select the "live preview" tab to run. At this point you can also click on whatever browser icons are displayed at the bottom of the live preview tab to run the app in your browser. As I said in one of the threads, a person skilled w. HTML and the WAS could make this look much nicer than the relativity crude appearance that it has currently.
Image and application attached...
http://msgboard.alphasoftware.com/al....php?t=81075#6
I am posting this sample as I have been using "Maurico's" idea, since ver 5 on the desktop using the same basic principal in an embedded browse - essentially a flat file with recursive references. In the desktop version (which I am not posting here) you only see one outline level at a time, as drilling down or navigating up the "tree" essentially runs a simple query. Here, on this grid version, you can view the outline tree normally. As what is posted here is a very simple outline sample, it lacks the typical cut & paste features one would expect in an outliner. Such features would require some coding to make this outliner truly functional. It should also be noted that a database version of an outliner has some limitations in terms of ordering. In typical string-based outliners, you can promote/demote items on a given level, in a database, the order is fixed on a given field or expression. There are ways around this but it gets messy.
For a discussion of what prompted this post, see:
http://msgboard.alphasoftware.com/al...ad.php?t=84514
Note: If you are not conversant with the web side of Alpha, after you have unzipped and opened this sample application, open the web control panel from the regular controlpanel's toolbar. Make sure to turn on the application server - if you see a red icon in the toolbar, click it to green. In the web controlpanel, select "all files" and doubleclick "outliner". Select the "live preview" tab to run. At this point you can also click on whatever browser icons are displayed at the bottom of the live preview tab to run the app in your browser. As I said in one of the threads, a person skilled w. HTML and the WAS could make this look much nicer than the relativity crude appearance that it has currently.
Image and application attached...
Comment