Giter Site home page Giter Site logo

Comments (3)

carbamide avatar carbamide commented on June 29, 2024

Are you reloading the data source? If you reload the table, but don't reload the data source (from wherever your data is coming from) the table will just reload the data that is currently in the data source.

Probably more information would be helpful? Is it crashing? Is it just reloading the same data? Is it catching your iOS device on fire?

from ratreeview.

Dennuz avatar Dennuz commented on June 29, 2024

My tree is to big to fully load at once, so I add nodes at runtime right before I expand a parent node. I load level 0 & level 1 at once and the deeper levels before expanding the parent level-1 node. So right before I expand level 0 I will load level 3. Right before expanding level 1 I will load level 4 and so on...

When you add sub-nodes to a node at runtime through the RADataObject of the data source, no TreeNodeInfo will be generated for those new nodes. And the TreeNodeInfo of the parent node is not updated. So the added rows will not show because you cannot expand the parent node as it checks the children count of the parents TreeNodeInfo. A partial reload with reloadRowsForItems won't help. Only after a full reload the added nodes will show.

from ratreeview.

Augustyniak avatar Augustyniak commented on June 29, 2024

Reloading is reimplemented in version 0.9.0. I'm closing this issue.

from ratreeview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.