简体   繁体   中英

Loading remote content to Kendo UI Mobile TabStrip

What would be the right way to load dynamic content to Kendo UI Mobile TabStrip view? I know how to load remote view but I want to keep TabStip header and footer.

I have found instructions from Teleric how to load remote view but looks like they are not using TabStrip but still have tabs on the footer. I was not able to find how to do it in the docs.

EDIT: I was able to load remote content on Tab click. How can I do the same with javascript?

Loading remote view is easy as:

app.navigate( url );

The problem why it did not work before (it was opening in fullscreen view) was because I forgot to use div wrapper with data-layout attribute in external file:

<div data-role="view" data-layout="mobile-tabstrip">
   ....
</div>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM