Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Hide Header and Footer via code

Hi Katya, I have tried the code and the headers are still present.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Hide Header and Footer via code

Hello! Please ensure you are using correct mobileheader and mobilefooter names. If so and it still doesn't work - then please share your project with support@tiggzi.com

Joe Bohen
Posts: 0
Joined: Wed Nov 28, 2012 11:28 am

Hide Header and Footer via code

Hi, Thanks for your support the failure was due to my having renamed the header/footer all is working now.

Regards,
Joe

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Hide Header and Footer via code

Glad it works :)

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Hide Header and Footer via code

Hi Everyone,

I hv got a grid enclosing a textarea in a footer.
I'd like to hide this grid+textarea on page load,
and make is slideOut on a button click.

but once page loaded the grid+textarea still show up.

wld you know how to do ? :-)

thk you very much in advance,
Eric

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Hide Header and Footer via code

Hi Eric,

You should use this code on Load event: preAppery("mobilegrid_4").hide();/preWhere 'mobilegrid_4' is a name of your Grid component.

And on button click run this code accordingly:preAppery("mobilegrid_4").show();/pre

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Hide Header and Footer via code

Hi Katya, it must be what I did. I'll try again.

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Hide Header and Footer via code

it doesn't work.
i used .hide()/.show() with header/footer before for other component types like buttons, ... it was fine but textarea doesn't obey at all :)

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Hide Header and Footer via code

in fact, it is the grid AND the footer.
my understanding as follows:
that's possible to insert a textarea in the header and to hide(), slideDown(), ... fine.
but in the footer, it's necessary to place the textarea in a grid. then, that grid doesn't obey to .hide() according to my few tests.
maybe you guys cld make it as simple as for the header, couldn't you ? :)
thks in advance

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

Hide Header and Footer via code

Hello,

Works for me, make sure you use correct component name:

preApperyio("mobiletextarea").hide();/pre

preApperyio("mobiletextarea").show();/pre

Return to “Issues”