If I change the value of the mobileselect component one of the two grids will be hidded but the function of hide() and show() seems don't work.
The result likes this :
The grid should be hidded but it always exists. So what's the reason?
Hello,
There is a space before component name, please try to delete it. You can also execute hide function on button click, because it can be some condition issue.
Hello,
I have delete the space before component name. But the result is the same.
If you put this code on button click event :
pre
Appery('mobilelist_23').hide();
/pre
Does it hide mobile list component on button click?
I don't want to add a button component. I would like to use select component to change the grid component's show and hide. Are there any better methods?
This is the simplest way how to check if your code is working. After you check this you can remove button. Also you can add
pre
alert(couponState);
/pre
before if, and
prealert("Test");/pre
inside if condition, to check if this code will execute.
Another way is debug app http://docs.appery.io/documentation/d...
I have added this checking code and my code has executed successful. But the result is the same.What's the reason?
Can you share app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? And tell us the steps how to reproduce this.
I have shared my Map app. Press Test and then navigate to Test6 screen.Thanks!