Results 1 to 5 of 5

Thread: [5.0.1] Tree/Grid Panel view empty when store refreshed while hidden.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default [5.0.1] Tree/Grid Panel view empty when store refreshed while hidden.

    Another day, another Ext bug :-(

    Tell me if you've already got this one filed or fixed, before I spend time on writing a fiddle.
    1. Have a Tab panel (or any panel that hides and shows children)
    2. Put a tree.Panel inside one of the tabs.
    3. Load tree.Panel store.
    4. Hide the tab (switch to another tab)
    5. Reload store for tree.Panel twice (this is important as the first view refresh holds old dimensions).
    6. Switch back to the Tab
    7. The tree is empty.
    8. ... try to reload the store
    9. ... tree is still empty and will never work again.
    The problem lies within BufferredRenderer and getLastVisibleRowIndex() which returns NaN in case the element is not visible (because me.rowHeight will get calculated as 0 and it will attempt division by zero).

    Surprisingly it doesn't break normal grid.Panel that often, however it also happens sometimes.

  2. #2

  3. #3
    Sencha Premium Member
    Join Date
    May 2013
    Location
    INDIA
    Posts
    7

    Default Im having Similar problem

    Your fix did not worked in my case.

    When the treePanel is hidden , and you try to load it , it will not render the nodes upon show().
    and it will not throw any error as well.

  4. #4

    Default

    Interesting... it seems to work for me (with override). Let's wait for Sencha guys to come to work so they can take a look.

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. I haven't been able to recreate this one. Can you please post a test case which reproduces the issue?
    https://fiddle.sencha.com/#home

Posting Permissions

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