Fixed header inside view

2 posts, 0 answers
  1. Samuel
    Samuel avatar
    1 posts
    Member since:
    Nov 2014

    Posted 06 Feb 2015 Link to this post

    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
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 11 Feb 2015 Link to this post

    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.

     
Back to Top