Results 1 to 4 of 4

Thread: [4.1-pr1] Grid emptyText displayed twice when deferEmptyText: false

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    249
      0  

    Default [4.1-pr1] Grid emptyText displayed twice when deferEmptyText: false

    In 4.0.7 I can use the below code and the emptyText is displayed in the body of the grid just the once.
    In 4.1-pr1 the emptyText is displayed twice.

    Code:
    , viewConfig: {
        emptyText: 'sample empty text'
        , deferEmptyText: false
    }
    Tested in:
    IE 8
    FF 5

  2. #2
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,711
    Vote Rating
    243
      0  

    Default

    Do you mean "twice" as in "two copies are on the screen" or in "updated in the DOM twice"?
    Don Griffin
    Director of Engineering - Frameworks (Ext JS / Sencha Touch)

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,154
    Vote Rating
    249
      0  

    Default

    The empty text is a div with a paragraph of instructions in it. In 4.0.7 it's displayed once. In 4.1-pr1 it's displayed twice, one on top of the other, so "two copies are on the screen".

    If you need a screenshot let me know.

  4. #4
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,711
    Vote Rating
    243
      0  

    Default

    Thanks - found it.
    Don Griffin
    Director of Engineering - Frameworks (Ext JS / Sencha Touch)

    Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue

    "Use the source, Luke!"

Posting Permissions

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