InfinityExpandableTableTree icon indicating copy to clipboard operation
InfinityExpandableTableTree copied to clipboard

How to use this for my custom objects and NOT Parent / Child object?

Open hem091 opened this issue 7 years ago • 1 comments

Hi, thank you for the awesome library.

You are using "Parent" and "Child" model in the library everywhere but I have different models for my use case. My use case is same as Facebook where I have "Activity" model and under that I have array of "ActivityComment" model and under that for replies I have array of "ActivityComment" model again, so it is like Activity -> [ActivityComment] ActivityComment -> [ActivityComment]

How do I use this library for my models instead of "Parent" and "Child" models given.

Please reply asap as I am in the middle of my development.

Thank You

hem091 avatar Dec 03 '18 09:12 hem091

You need to change the file access of Node to Open in order to subclass it. I suggest create a frk or ask for a change request.

trickpirata avatar May 18 '19 07:05 trickpirata