This is a migrated thread and some comments may be shown as answers.

Fixed header inside view

1 Answer 37 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Samuel
Top achievements
Rank 1
Samuel asked on 06 Feb 2015, 07:05 PM
Hi,

I need to have a second header, but defined in the content not in the layout.

When I add data-role="header" to my second header div, the first one in layout disappears.
I've been able to add a second footer with data-role="footer", why not a header?

Thanks,

Samuel

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 11 Feb 2015, 02:26 PM
Hi Samuel,

I am not sure I understand your scenario. If you have a header/footer defined at the same time in a layout and a view, then the header/footer defined within the view will override the ones defined in the layout.

Can you please send us a code snippet so I can better understand your implementation. Also, I would recommend instead of trying to add two headers through the data-role="header" attribute, styling your inner header appropriately.

Regards,
Tina Stancheva
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
General Discussion
Asked by
Samuel
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or