Comments (3)
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.
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.
Reloading is reimplemented in version 0.9.0. I'm closing this issue.
from ratreeview.
Related Issues (20)
- Want path of particular node?
- Getting warnings in xcode 9.4.1: This block declaration is not a prototype HOT 1
- indexPathForItem not working swift version
- expandDefaultRowForItem
- Repositioning Nodes & Roots.
- Inconsistencies in method - (nullable UITableViewCell *)cellForItem:(id)item;
- Do not expand while selecting cell! HOT 1
- (NSInteger)treeView:(RATreeView *)treeView numberOfChildrenOfItem:(id)item
- dataSource repeat
- Swift 5 HOT 4
- tableview里面那种左滑样式
- "Control may reach end of non-void function" error on Xcode 11 HOT 4
- IOS10系统出现erminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x10319e400 of class RATableView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x17022ac60> HOT 1
- IOS13 UITableViewStyle多了一种枚举值 ,编译报错,需要适配IOS13 HOT 1
- iOS 13 new UITableViewStyle HOT 1
- numberOfChildrenOfItem怎么不调用
- Rat tree view
- RATreeView contentSize not available
- Hide Editing style HOT 1
- 怎么实现同时只能展开一级的需求
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ratreeview.