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 [geshifilter-code]$.mobile.listview._createSubPages[/geshifilter-code] to support this functionality by setting data-dynamic to [geshifilter-code]true[/geshifilter-code] or [geshifilter-code]false[/geshifilter-code] on the [geshifilter-code][/geshifilter-code]

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

    [geshifilter-code]_createSubPage[/geshifilter-code]

      behaviour.
    Tags: 

    Comments

    Pages

    Add new comment

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