Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

This is someting wrong with show() and hide() of the Grid component.

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.

Image

The result likes this :
Image
The grid should be hidded but it always exists. So what's the reason?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

This is someting wrong with show() and hide() of the Grid component.

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.

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

This is someting wrong with show() and hide() of the Grid component.

Hello,
I have delete the space before component name. But the result is the same.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

This is someting wrong with show() and hide() of the Grid component.

If you put this code on button click event :
pre
Appery('mobilelist_23').hide();
/pre
Does it hide mobile list component on button click?

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

This is someting wrong with show() and hide() of the Grid component.

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?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

This is someting wrong with show() and hide() of the Grid component.

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...

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

This is someting wrong with show() and hide() of the Grid component.

I have added this checking code and my code has executed successful. But the result is the same.What's the reason?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

This is someting wrong with show() and hide() of the Grid component.

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.

Crystal
Posts: 0
Joined: Mon Nov 25, 2013 8:49 am

This is someting wrong with show() and hide() of the Grid component.

I have shared my Map app. Press Test and then navigate to Test6 screen.Thanks!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

This is someting wrong with show() and hide() of the Grid component.

Hello Crystal,

Tested your app, this is what I see on Preview:

Image

Did you try clearing browser cache or test in other browser? Also try to recreate event with this code.

Return to “Issues”