Todo list ideas



Peter Bradstreet
Hi David,

I need to add a generic to-do checklist to my app and I was hoping to pick your brain. I can go with 3 separate screens with a list view, add view and edit view but I was hoping to have a slicker solution that would utilize just one view or two views. I would want to be able to add/edit/delete from the single view and also be able to mark each item as completed or not (via checkbox?) and probably also be able to drag/drop the items to organize the sort order. I could branch out from each item to an edit view for setting the due date for each item. Each of the to-do items would need to be stored locally and I will be syncing to an online database if internet connection exists.

I was wondering if you had any suggestions on how to best approach this? Have you done anything like this in the past?

Cheers, Pete

Peter Bradstreet
Hi again, I had a poke around and found a generic vanilla js to do example and have played around with it to get the rough functionality that I am looking for. You can download the example HERE .

Would I be best to strip this down and rebuild it entirely in AB or can I maybe reference the js and css files and just dump the html code into an html control? Or perhaps you have a better way to approach this? Cheers, Pete

David Esperalta

Hello Peter,

First of all, sorry for the delay: I fall in a bit cold the latest thursday and here I am... trying to be better... Anyway, your question is difficult to answer, because you don't place any specific question nor a problem in which you get stuck. Just one example: there must be several ways to prepare some kind of TODO app, using more or less AB controls, trying a pure HTML and Javascript approach, etc. Never forget that we are taking about AB apps here, but, finally, we are talking about HTML and Javascript apps.

After a couple of hours of work, I add a new sample to App Builder, named "TodoApp", which implement some kind of TODO list app, just like I feel that you wanted. The sample is not complete, of course, and can be improved (like probably any software) in several ways, however, may you want to take a look at it, Peter, in order to view that possible implementation of a TODO list app. Then feel free to ask some specific questions, and I will try to help you.

Take a look here for more information, but, anyway, upgrade your AB copy and look at the new "TodoApp" sample.



Peter Bradstreet
Hi David, Many thanks, I really appreciate it! The total js approach is an interesting one. I will spend some time dressing this one up and will let you know if/when I need a hand with certain elements. Thanks again, Pete

David Esperalta

Hello Peter,

Please, go ahead if you have any specific question. :-)



Everybody can read the DecSoft's support forum for learning purposes, however only DecSoft's customers can post new threads. Purchase one or more licenses of some DecSoft's products in order to give this and other benefits.