RATreeView icon indicating copy to clipboard operation
RATreeView copied to clipboard

Expand All cell at time of reloading tableview.

Open uditbatra opened this issue 10 years ago • 7 comments
trafficstars

Hi,

When i reload tableview i want all cell to be expanded initially. Is there any function for this.

Thanks

uditbatra avatar Mar 04 '15 06:03 uditbatra

Hello, you have a solution for it?

LvJianfeng avatar Mar 12 '15 06:03 LvJianfeng

I also have this question

leagon avatar Jun 16 '15 02:06 leagon

I have already solved,you can at the time of reloadtree to use expand

LvJianfeng avatar Jun 16 '15 02:06 LvJianfeng

i see. thanks.

leagon avatar Jun 16 '15 02:06 leagon

Hi. Could you provide more details and code? What do you mean "at the time of reloadtree to use expand" ?

kmav avatar Feb 12 '16 01:02 kmav

In viewDidLoad for the view just call -expandRowForItem on all items.

joshjack avatar Feb 15 '16 16:02 joshjack

Thank you joshjack . In fact, I called

[self expandRowForItem:anItem expandChildren:YES withRowAnimation:RATreeViewRowAnimationNone]

for every item in the top level. I wanted the tree to be fully expanded.

kmav avatar Feb 15 '16 19:02 kmav