You are here

jQueryMobile: Keeping the header and footer in nested listviews

When I used a nested listview for the first time, I was a bit surprised to find that it created new a new header dynamically instead of just keeping the header and footer of the parent. For my current project this is really important, so I searched around and found many people with the same expectation.

I've modified $.mobile.listview._createSubPages to support this functionality by setting data-dynamic to true or false on the  

        . Ideally this could be implemented as an event or callback so that the coder could override the

    _createSubPage

      behaviour.
    Tags: 

    Comments

    Pages

    Add new comment

    Simple Copyright Policy: If you want to reproduce anything on this site, get my permission first.