Page 1 of 1

Have to cycle my delete button twice to get it to actually delete from my list

Posted: Fri May 16, 2014 7:26 pm
by Dave Troxel

Not sure what I am missing but I have to click 'Delete' twice to get it to actually delete a list item from the page. ANY suggestions?


Have to cycle my delete button twice to get it to actually delete from my list

Posted: Fri May 16, 2014 7:52 pm
by Evgene Karachevtsev

H, Dave,

How do you delete the list item from the page? Provide us some screenshots, please.


Have to cycle my delete button twice to get it to actually delete from my list

Posted: Fri May 16, 2014 8:05 pm
by Dave Troxel

Image

I tried adding a navigate to page thinking it needed a refresh.


Have to cycle my delete button twice to get it to actually delete from my list

Posted: Fri May 16, 2014 8:20 pm
by Dave Troxel

Have to cycle my delete button twice to get it to actually delete from my list

Posted: Fri May 16, 2014 8:26 pm
by Dave Troxel

Image

This is the page itself. The first image I added is the delete button, all set to Click.


Have to cycle my delete button twice to get it to actually delete from my list

Posted: Fri May 16, 2014 8:28 pm
by Dave Troxel

Please review my screenshots. Thanks.


Have to cycle my delete button twice to get it to actually delete from my list

Posted: Fri May 16, 2014 8:45 pm
by Evgene Karachevtsev

Hello Dave,

Looks like wrong sequence of action. At first on click, you should set id value to local storage variable, then invoke delete service,
To refresh UI you should invoke list_service on "success" event of delete_service.
This tutorial should be helpful: http://docs.appery.io/tutorials/build...


Have to cycle my delete button twice to get it to actually delete from my list

Posted: Fri May 16, 2014 9:44 pm
by Dave Troxel

Works! Thank you. I knew there was something out of whack. Was definitely the sequence of events. You rock Evgene.