Results 1 to 3 of 3

Thread: [Modern] Grid rows broken layout on store.loadData()

    You found a bug! We've classified it as EXTJS-21918 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,018
    Vote Rating
    125
      0  

    Default [Modern] Grid rows broken layout on store.loadData()

    Fiddle

    Ext version tested:
    • Ext 6.0.2.437

    Browser versions tested against:
    • Chrome on Nexus 5

    Description:
    • Loading data via store.loadData() into an empty Grid causes broken layout of rows

    Grid rows broken layout.png

    Steps to reproduce the problem:
    • Load the fiddle in Nexus 5 (or any other phone, I guess)
    • Click the Load Data button

    The result that was expected:
    • Grid rows are okay

    The result that occurs instead:
    • Grid rows layout is broken
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

  2. #2
    Sencha Premium User
    Join Date
    Jun 2015
    Posts
    1
    Vote Rating
    0
      0  

    Default

    I was having the very same issue. A quick fix is to set the itemHeight to a fixed value, such as 34 px, in the grid config. I've modified your fiddle code as an example.

  3. #3
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,018
    Vote Rating
    125
      0  

    Default

    @bobgebbie, thank you for a follow-up! Actually, we used the same workaround. I was going to share it in the original post, but forgot
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

Similar Threads

  1. Replies: 1
    Last Post: 21 Mar 2016, 3:27 PM
  2. Replies: 8
    Last Post: 14 Nov 2012, 11:05 PM
  3. Replies: 5
    Last Post: 28 Mar 2012, 1:05 PM
  4. [FIXED] Store.loadData doesn't update Snapshot when loadData is called second time
    By chandramuralis in forum Sencha Touch 1.x: Bugs
    Replies: 2
    Last Post: 16 Dec 2011, 11:34 AM

Posting Permissions

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