Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8040645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:58:01+00:00 2026-06-05T03:58:01+00:00

I have implemented a left side list view in split view using the following

  • 0

I have implemented a left side list view in split view using the following jQuery mobile phonegap code

        <div data-role="page"  id="main" data-hash="false">

            <div data-role="header">
                <h1>Main</h1>
            </div><!-- /header -->

            <div data-role="content" data-theme="c">    




                <ul data-role="listview" data-theme="c" data-header-theme="a">





                    <li>first Row contains 8 list items
                        <ul>
                            <li data-role="list-divider" data-header-theme="c">One item</li>  <!----------- Section Header -------->
                            <li><a href="#siteInfo" data-panel="main">One item</a></li>
                            <li><a href="#siteContacts" data-panel="main">One itemts</a></li>
                            <li><a href="#siteProviders" data-panel="main">One item</a></li>

                            <li data-role="list-divider" data-divider-theme="c">One item</li>  <!---------- Section Header -------->
                            <li><a href="#equipment" data-panel="main">One item</a></li>
                            <li><a href="#scroll" data-panel="main">One itemrts</a></li>
                            <li><a href="#context" data-panel="main">One iteme</a></li>
                            <li><a href="#context" data-panel="main">Data commissioned</a></li>
                        </ul>
                    </li>
                    <li>Second Row contains 8 list items
                        <ul>
                            <li data-role="list-divider" data-header-theme="a">One item</li> 
                            <li><a href="#siteInfo" data-panel="main">One item</a></li>
                            <li><a href="#siteContacts" data-panel="main">One itemts</a></li>
                            <li><a href="#siteProviders" data-panel="main">One item</a></li>

                            <li data-role="list-divider" data-divider-theme="c">One item</li>  <!---------- Section Header -------->
                            <li><a href="#equipment" data-panel="main">One item</a></li>
                            <li><a href="#scroll" data-panel="main">One itemrts</a></li>
                            <li><a href="#context" data-panel="main">One iteme</a></li>
                            <li><a href="#context" data-panel="main">Data commissioned</a></li>                     
                        </ul>
                    </li>


                    <li>3rd Row contains 8 list items
                        <ul>
                            <li data-role="list-divider" data-header-theme="c">One item</li>  <!----------- Section Header -------->
                            <li><a href="#siteInfo" data-panel="main">One item</a></li>
                            <li><a href="#siteContacts" data-panel="main">One itemts</a></li>
                            <li><a href="#siteProviders" data-panel="main">One item</a></li>

                            <li data-role="list-divider" data-divider-theme="c">One item</li> 
                            <li><a href="#equipment" data-panel="main">One item</a></li>
                            <li><a href="#scroll" data-panel="main">One itemrts</a></li>
                            <li><a href="#context" data-panel="main">One iteme</a></li>
                            <li><a href="#context" data-panel="main">Data commissioned</a></li>
                        </ul>
                    </li>
                    <li>4th Row contains 8 list items
                        <ul>
                            <li data-role="list-divider" data-header-theme="a">One item</li>  
                            <li><a href="#siteInfo" data-panel="main">One item</a></li>
                            <li><a href="#siteContacts" data-panel="main">One itemts</a></li>
                            <li><a href="#siteProviders" data-panel="main">One item</a></li>

                            <li data-role="list-divider" data-divider-theme="c">One item</li>  
                            <li><a href="#equipment" data-panel="main">One item</a></li>
                            <li><a href="#scroll" data-panel="main">One itemrts</a></li>
                            <li><a href="#context" data-panel="main">One iteme</a></li>
                            <li><a href="#context" data-panel="main">Data commissioned</a></li>                     
                        </ul>
                    </li>

When i execute the jQuery in xcode works fine but the table view as shown bellow but not as normal list view

The list items are in a separate box but not as a list as shown bellow

enter image description here

But i wants as a normal list as shown bellow 2 images

enter image description here enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:58:04+00:00Added an answer on June 5, 2026 at 3:58 am

    I don’t think you can nest a listview the way you have done – either put your outer list into list-divider tags or make several listview lists after each other.

    That is, either like this:

    <div data-role="content" data-theme="c">    
        <ul data-role="listview" data-theme="c" data-header-theme="a">
             <li data-role="list-divider" data-header-theme="c">first Row contains 8 list items</li>  <!----------- Section Header -------->
             <li><a href="#siteInfo" data-panel="main">One item</a></li>
             <li><a href="#siteContacts" data-panel="main">One itemts</a></li>
             <li><a href="#siteProviders" data-panel="main">One item</a></li>
    
             <li data-role="list-divider" data-divider-theme="c">One item</li>  <!---------- Section Header -------->
             <li><a href="#equipment" data-panel="main">One item</a></li>
             <li><a href="#scroll" data-panel="main">One itemrts</a></li>
             <li><a href="#context" data-panel="main">One iteme</a></li>
             <li><a href="#context" data-panel="main">Data commissioned</a></li>
    
             <li data-role="list-divider" data-header-theme="c">Second Row contains 8 list items</li>  <!----------- Section Header -------->
             <li data-role="list-divider" data-header-theme="a">One item</li> 
             <li><a href="#siteInfo" data-panel="main">One item</a></li>
             <li><a href="#siteContacts" data-panel="main">One itemts</a></li>
             [...]
    

    Or like this:

    <div data-role="content" data-theme="c">    
        <ul data-role="listview" data-theme="c" data-header-theme="a">
             <li data-role="list-divider" data-header-theme="c">first Row contains 8 list items</li>  <!----------- Section Header -------->
             <li><a href="#siteInfo" data-panel="main">One item</a></li>
             <li><a href="#siteContacts" data-panel="main">One itemts</a></li>
             <li><a href="#siteProviders" data-panel="main">One item</a></li>
    
             <li data-role="list-divider" data-divider-theme="c">One item</li>  <!---------- Section Header -------->
             <li><a href="#equipment" data-panel="main">One item</a></li>
             <li><a href="#scroll" data-panel="main">One itemrts</a></li>
             <li><a href="#context" data-panel="main">One iteme</a></li>
             <li><a href="#context" data-panel="main">Data commissioned</a></li>
        </ul>
    
        <ul data-role="listview" data-theme="c" data-header-theme="a">
             <li data-role="list-divider" data-header-theme="c">Second Row contains 8 list items</li>  <!----------- Section Header -------->
             <li data-role="list-divider" data-header-theme="a">One item</li> 
             <li><a href="#siteInfo" data-panel="main">One item</a></li>
             <li><a href="#siteContacts" data-panel="main">One itemts</a></li>
             [...]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Have implemented Split view model in Jquery mobile + phone gap by following
I have a tree view on the left side. Selecting a node displays relevant
If I have two images which are both the left side view of a
I have implemented a DAL using Rob Conery's spin on the repository pattern (from
I have the following . I have a fragment on the left which is
This is my first time using JQuery in any of my projects. I have
i need to implement this layout in android..the view must be have two list
I have implemented an app in iphone using sencha touch & phone gap .
I have a container div with 2 child panels to be implemented as adaptive
To implement as above in an PhoneGap iPhone application I have used nested list

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.