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 7743863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:38:38+00:00 2026-06-01T09:38:38+00:00

First, I am really sorry for my poor english. Now when I use Ext.List

  • 0

First, I am really sorry for my poor english.

Now when I use Ext.List in one page, It work fine when orientation change, and anything will redraw. Like below:

 App.views.HomeLogin = Ext.extend(Ext.List, {
           ui:'round',
           style:'background:url(bg@2x.png);background-size:100% 100%',

                xtype:'list',
                store:'LoginItems',
               itemTpl: '<span>{item}</span>',
});
Ext.reg('HomeLogin', App.views.HomeLogin);

But now I want multiple list in one page, unfortunately it not redraw when orientation change, here my code:

var firstList = new Ext.List({


                            style:'background:none;margin-bottom:-40px',
                            xtype:'list',  
                            ui: 'round',
                            store:'FirstItems',
                            itemTpl:'<div style="font-weight:bold;width:100%">{item}</div>',
});

var segmentedButton = new Ext.SegmentedButton({

                                              layout: {
                                              //type: 'vbox',
                                              pack: 'center',

                                              },
                                              style:'padding-left:20px;padding-right:20px',
                                              items: [
                                                      {
                                                      ui:'action',
                                                      style:'width:50%;height:140%',
                                                      text: 'Sailing'
                                                      },
                                                      {
                                                      ui:'action',
                                                      style:'width:50%;height:140%',
                                                      text   : 'Arrival',
                                                      pressed: true
                                                      }
                                                      ],
});

var secondList = new Ext.List({
                                      style:'background:none;margin-top:-8px;margin-bottom:-40px',
                                      xtype:'list',  
                                      ui: 'round',
                                      store:'SecondItems',
                                      itemTpl:'<div style="font-weight:bold;width:100%">{item}</div>',
                                      listeners:{
                                      afterrender:function(){
                                      this.scroller.disable();
                                      }
                                      },
})

App.views.HomeView = Ext.extend(Ext.Panel,{
                                //layout:'fit',
                                        //fullscreen:true,
                                style:'background:url(bg@2x.png);background-size:100% 100%',
                                scroll: 'vertical',
                                        items:[
                                               firstList,
                                               //dateTitle,
                                               segmentedButton,
                                               secondList,
                                               //recentTitle

                                        ]


                                });
Ext.reg('HomeView', App.views.HomeView);

I want my multiple list can redraw when orientation change!
Can anyone help?
I will be grateful!

  • 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-01T09:38:40+00:00Added an answer on June 1, 2026 at 9:38 am

    You could try to listen for the orientationchange event Sencha Docs Orientation Change and then call refresh on both lists

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First, I really sorry for my poor english... Now I use iScroll to make
first, I'm sorry for my poor English, it's not my first language. It's my
First of all Sorry for the really long post, now And this is my
this is my first stack overflow, and it's a complex one. Sorry. My task
Must be really dumb today - sorry in advance; anyhow have this unordered list
At first sorry for my really bad title! If you have a better title
first of all I am sorry for the bad description, but I really don't
I am really suffering here trying to get this ajax call to work, sorry
Sorry for the poor title, I don't really know what to call this. I
First of all I'm really sorry for asking such a basic thing, I know

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.