For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 20 replies, 4 voices, and was last updated 13 years, 5 months ago by
jim.
-
AuthorPosts
-
tteasdaleMemberI have read through just about every ‘list’ and ‘clickable’ post to help resolve my issue but to no success. Basically, I have a dynamic list being created from a local database. Everything looks good up until I want to click on a list item to populate the fields for editing the record but the list item is not clickable. Please see attached _custom code and also, please excuse the nature of the comments and code that is commented out as this is my test program used to understand the functions and syntax which is still in progress.
Additionally, my ‘action14’ calls the ‘updateField’ function.
Thank you for your help.Attachments:
You must be logged in to view attached files.November 6, 2012 at 10:01 am #332044
tteasdaleMemberBTW, this project is all on one page. Would be helpful to upload the full project for your review?
November 6, 2012 at 11:18 am #332047November 6, 2012 at 2:19 pm #332057
support-michaelKeymasterThanks for sharing this app files. For completeness can you share the design file (.mobi)
November 6, 2012 at 2:22 pm #332058November 6, 2012 at 2:55 pm #332061
support-michaelKeymasterThanks for the data.
November 6, 2012 at 3:32 pm #332066
support-michaelKeymasterI loaded your example project in mobione 2.2.3 and fired it up in the Test Center. Based on your problem description I set a breakpoint in updateField() function. Here is what I’m seeing: See attachment db-support1.png
Attachments:
You must be logged in to view attached files.November 6, 2012 at 3:38 pm #332068
tteasdaleMemberThanks Wayne. Looking at your screen shot, it doesn’t look like the list was built but that may be because you do not have any records in your database. Can you add some in and try it again or do you think that would not make a difference. I too have the latest version of Mobione, 2.2.3.
November 6, 2012 at 3:44 pm #332070
support-michaelKeymaster@tteasdale
From your initial problem report it was my understanding that clicking a list-item would not fire its handler action, updateField() in this case.November 6, 2012 at 3:49 pm #332071
tteasdaleMemberThat’s correct. In your test, are you saying that it is working? If so, I am not sure why it is not in my environment when your dynamic list example you posted work fine on my end and as you can see I am pretty much using the same code.
November 6, 2012 at 3:58 pm #332072
support-michaelKeymasterI added a row and stepped through the async callbacks (a little rough) but worked on 1st attempt. See attachment db-support2.png
Attachments:
You must be logged in to view attached files.November 6, 2012 at 4:04 pm #332073
tteasdaleMemberSo, just to be sure I understand, after you add a record to the DB, you refreshed the list and then you were able to click on the one list item and get the alert to popup in the ‘updateField’ function call?
November 7, 2012 at 8:54 am #332091
tteasdaleMemberWayne,
I really appreciate you help thus far. I did confirm that the list item is clickable before any data is in the database and the list is rebuild, but after data is pulled and displayed from the database, the list item(s) are NOT clickable. Can you please confirm this on your end and offer a solution.Thank you!! This is the last function I need to resolve before building my actual application.
November 7, 2012 at 10:51 am #332094
support-michaelKeymasterWill resume investigation shortly and provide feedback asap
November 8, 2012 at 12:32 pm #332131
tteasdaleMemberHey Wayne,
Any progress?Thanks!!
-
AuthorPosts
