Page 2 of 3

Hide Header and Footer via code

Posted: Thu Jan 24, 2013 2:09 pm
by Joe Bohen

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


Hide Header and Footer via code

Posted: Thu Jan 24, 2013 3:21 pm
by Maryna Brodina

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


Hide Header and Footer via code

Posted: Fri Jan 25, 2013 10:08 am
by Joe Bohen

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

Regards,
Joe


Hide Header and Footer via code

Posted: Fri Jan 25, 2013 11:10 am
by Kateryna Grynko

Glad it works :)


Hide Header and Footer via code

Posted: Fri Jul 18, 2014 2:53 pm
by EJLD

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


Hide Header and Footer via code

Posted: Fri Jul 18, 2014 4:06 pm
by Kateryna Grynko

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


Hide Header and Footer via code

Posted: Sat Jul 19, 2014 7:00 am
by EJLD

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


Hide Header and Footer via code

Posted: Sat Jul 19, 2014 7:19 am
by EJLD

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 :)


Hide Header and Footer via code

Posted: Sat Jul 19, 2014 7:34 am
by EJLD

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


Hide Header and Footer via code

Posted: Sat Jul 19, 2014 7:41 am
by Alena Prykhodko

Hello,

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

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

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