-
Notifications
You must be signed in to change notification settings - Fork 15
function to expand all and close all rows in the tree structure #22
Comments
Have you tried Expanding up to a certain node is not possible in the current implementation and I am afraid it is too specialized a functionality to add provide as an option to do it. Couple of ways it can be implemented though - 1) an option line |
thanks for the reply mahesh, And regarding the expanding upto certain node, i will work on the option 2 which you have suggested. |
I don't quite understand the state change part - are you trying to pass the |
@arjunaria is this still an issue for you? |
yes this is still does not seem to work seamlessly. my implementation is as below. I have 2 buttons to handle the functionality this.state = { expandStatus: true, openTreeView() { closeTreeView() { shouldComponentUpdate(nextState) {
|
Hi Mahesh, did you get a chance to review it. Though expand and collapse works on certain occasions
|
Also let us say there are cyclic redundancies. In this case when I close or open a node then all the nodes with the same I'd collapse/expand. |
I am looking any implementation that can help me achieve expand all and collapse all function in the tree. Currently we do pass them as props which is just one time.how can this be achieved in the current code..
Also i would want to expand upto a certain parent node when i pass the parent id. is that feasible with the current one.?
The text was updated successfully, but these errors were encountered: