Results 1 to 3 of 3

Thread: Tree grid scroll to record bug

  1. #1

    Default Tree grid scroll to record bug

    The "scrollToRecord" function for the tree grid fails to scroll to the proper node when all nodes have been expanded:



    Hit "Fill" to load the data into the tree, "Expand" to expand all the nodes, and "Search" to search for the item with "ITEM": "90909090" and scroll to it. Observe that the console logs the proper node, but the scrollToMethod doesn't take the user anywhere near close enough to the node, which is at the bottom of the tree.

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    I believe the issue is the same as this bug where if you have an infinite list with variable row heights, it does not scroll to the item. Trees do extend from list eventually.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3

    Default

    Thanks a ton!

    I removed the config:
    variableHeights : true

    So i'm using the default configs of:
    variableHeights : false,
    infinite: true

    This fixed several other issues I was having in my screen; so thanks!

Posting Permissions

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