Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Posts by DecSoft Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello John,
You're welcome! In fact, who deserves the thanks is the author of the referred articles, which do a very good work.
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello John,
Nothing is impossible, however, almost everything requires some work. What you wanted probably can be achieved by using some possible third party JavaScript library, and, of course can be made in the same way than that JavaScript library does, I mean, finally we are talking about what HTML and JavaScript allows us to do. Thanks to DecSoft App Builder we can use all the power of HTML and JavaScript in our apps.
I found a couple of amazing articles: this one for resizing table columns and this one for reorder table columns, so I adapted it to get the Table sample app enhanced with these features. The main code is which is placed in the app view Show event, and, there is also some CSS code placed in the app Style option.
You can download the modified Table sample app from here. Maybe this modified sample have some caveats: finally I only dedicate around an hour and a half in order to adapt the referred article: the main work is taken from the articles, and, maybe can be enhanced, modified, etc. As I told you, HTML and JavaScript offers to us the way to get it working, probably using various approaches, so, maybe you want to modify the sample, looking for some possible samples or third party libraries, etc.
Hello John,
The short answer is no, John. Consider that React is not a "normal" third party Javascript library, but, an entire Javascript framework in which we can base our "single page" HTML apps. Well, DecSoft App Builder uses another framework, and, the entire product (the IDE, the native controls, our apps template, etc.) are based in this other framework and therefore cannot be replaced by React "as easy" as we can use any other kind of third party Javascript libraries, which you know it's perfectly possible.
P.S. Of course, we can use an IFrame control in our apps in order to run a React app or any other kind of HTML app. And may we can communicate from one app to another using the "iframe" HTML messages (take a look at the "IFrame2" sample app), but, this is not a "yes" answer for your question, John, I just comment this because if we need something like that, it's possible to do it, but, the answer for your question is in the first paragraph of this post.
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft App Builder with the below changes, fixes and enhancements:
Hello to all,
Here is a new DecSoft HTML Compiler with the below changes, fixes and enhancements:
Hello Amin,
Thanks a lot. Fixed the issue. Fantastic help and support as always.
Always thank you for your trust, sir!
Hello Amin,
If you remember, the app Start event of AB1 was added in the past for some capability that you wanted: change the "window.App.Config.DefaultView" variable, or may other "config" variables. Certainly, in this event we can't use any AB1 actions, only Javascript, and, cannot get access to the app variables.
If you do not want to use the "DeviceReady" event, instead of the Start event, maybe you can consider to use the view Show event. You can take the view Show event as a kind of Start event, since it's fired even before the DeviceReady is fired, and in the view Show event you can use AB1 actions, variables, etc.
On the other hand, if you can use "window" variables, then you can certainly use the app Start event, for example, the below code defines a "window" variable in the app Start event:
That kind of variables are possible to be set in the app Start event, and, certainly they are available in other app places, for example, the below code can be in the view Show event:
Talking about the other issue, that is, adding the "capacitor" value into the "imgSrcSanitizationWhitelist", I update AB1 right now in order to add the "capacitor" value into "imgSrcSanitizationWhitelist", so you can upgrade your AB1 copy in order to get it working "as is". I hope this information can help you in some manner, Amin, just post here if you have any further questions.
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.