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

  • Home
  • SEARCH
  • 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 9134917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:45:04+00:00 2026-06-17T08:45:04+00:00

I am trying to create a grid app with various sections and each section

  • 0

I am trying to create a grid app with various sections and each section is being fetched to a specific listview however I have encountered a problem where you can only have one listview covering the entire page in order to properly horizontally scroll the objects inside the list which means there’s no room for another one. This is the code I am using right now:

WinJS.xhr({ url: "http://search.twitter.com/search.json?q=%23windows8&rpp=100}).then(

            function (response) {
                var json = JSON.parse(response.responseText.toString());
                var list = new WinJS.Binding.List(json.result);
                gridView1.winControl.itemDataSource = list.dataSource;

                //gridView1 is ID of listview 

            }

With the above code I can easily show grids of objects containing result array and then bind em to the list. However now I want multiple similar listviews for different URLs that are displayed like the one shown as default interface in WinJS grid app.

To be more clear, this is what I want – Twitter usernames in first section of grid by using Twitter API URL1 and then I want twitter search results in adjacent grid so I have to use another listview b using URL2.

How do I find a fix for this. Appreciate your help.

  • 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-17T08:45:05+00:00Added an answer on June 17, 2026 at 8:45 am

    Yeah, coming up with what all of the disparate items from the different lists have in common and projecting your data up to a single grouped list is one option. You might not want to give up on what you were trying to do though. If you put multiple ListViews on a page wrapped in a flexbox, you shouldn’t have any trouble with scrolling. If you look at my codeSHOW app at the ListView demo, you’ll see that I have the rough equivalent. Windows is actually really smart about the way it handles the panning.

    ** EDIT **

    Here’s a rough example of what I’m talking about. Again, you can find a working example of this in the ListView demo of codeSHOW.

    <!-- HTML snippet -->
    <div class="hub">
      <div>
        <div id="list1" data-win-control="WinJS.UI.ListView"></div>
      </div>
      <div>
        <div id="list2" data-win-control="WinJS.UI.ListView"></div>
      </div>
      <div>
        <div id="list3" data-win-control="WinJS.UI.ListView"></div>
      </div>
    </div>
    
    /* CSS snippet */
    .hub {
      display:-ms-flexbox; /* this will lay the lists out horizontally */
      overflow-x:auto; /* set the flexbox to scroll its overflow */
    }
    
    /* select each of the sections */
    .hub > div {
      padding-right:80px; /* 80px of space between "sections" */
    }
    
    /* choose whatever sizes you want for your list views. You may want to make them wide
    enough that they don't scroll because it can get a little awkward to have scrolling
    within scrolling */
    [data-win-control=WinJS.UI.ListView] {
      width: 640px;
      height: 480px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create my first app for Windows Phone 7. I have
I am trying to create a grid like system with div's with content floated
I'm trying to create a dynamic grid using ExtJS. The grid is built and
I am trying to create a 5x5 grid with 2 exits and put some
What I'm trying to do: Create a 'grid' once the page loads with some
I am trying to create a simple ajax grid that allows me to add
I'm trying to create a page that contains a grid and searching. The issue
Inside my XAML/C# app for Windows 8 Store, I am trying to create a
I am trying to dynamically create grid.Panels and add them to my View, since
I'm trying to create my first app based on FireMonkey, and I hit a

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.