Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36

Thread: 4.0.2a Grid infinite scrolling broken

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #21
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    OK, I've taken the 4.0.4 code base, and put the infinite-scroll example inside a layout:'fit' Window and I can't make it go wrong.

    Any other suggestions?

  2. #22
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    OK, the 4.0.3 one does not seem to work in a layout:'fit' Window.

    Now to spot the difference!

  3. #23
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    Are you specifying a configured width and height for the grid even though it's going inside a size-managing layout?

  4. #24
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    Quote Originally Posted by Albinoswordfish View Post
    I'm also having the same problem with infinite scrolling, however it doesn't seem to matter if I change my layout to 'fit' or 'border', when I move my scroll bar the grid view doesn't change at all.
    My grid panel is within another Window.
    What layout manager are you asking the Window to use to size the child grid?

  5. #25
    Ext JS Premium Member stevil's Avatar
    Join Date
    Nov 2007
    Location
    Denver, CO
    Posts
    1,045

    Default

    @Animal,

    Thanks for looking into this - can you make it happen with the grid in a center region of a border layout? That seems to be one aspect in common among the people who are affected.

    I'll be trying today to isolate a test case out of my application - it's a little difficult only because of project time pressure.

    stevil
    P.S (perhaps 4.0.4 fixed it based on other work? I'd take that!)

  6. #26
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    It works when the grid is the center region of a border layout. That's in the 4.0.3 code base.

  7. #27
    Ext JS Premium Member stevil's Avatar
    Join Date
    Nov 2007
    Location
    Denver, CO
    Posts
    1,045

    Default

    Is 4.0.3 available to anyone outside Sencha at the moment?

    stevil

  8. #28

    Default

    Quote Originally Posted by Animal View Post
    What layout manager are you asking the Window to use to size the child grid?
    Right now the GridPanel is inside a TabPanel which is using a border layout. The GridPanel is in the 'center' region.

  9. #29
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,892

    Default

    "in" the center region? That doesn't sound right. But if in fact you have put the grid in a Panel which is the center region, what layout is that Panel using to size the child grid?

    And TabPanels do not use border layout. They use card layout, that's their nature.

  10. #30

    Default

    Quote Originally Posted by Animal View Post
    "in" the center region? That doesn't sound right. But if in fact you have put the grid in a Panel which is the center region, what layout is that Panel using to size the child grid?

    And TabPanels do not use border layout. They use card layout, that's their nature.
    Sorry I think I didn't word this correctly. I'll try to explain it through code

    I'm creating a grid panel with region : 'center' in the config

    Code:
    var tabpanel = Ext.create('Ext.tab.Panel');
    
    var panel = Ext.create('Ext.grid.Panel', {region : 'center'});
    
    var tab = tabpanel.add({
      title : 'test',
      layout : 'border',
      items : [panel]
    });
    I meant to say the panel within the tab is using a border layout

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •