Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there anything in angular-tree-component, that provides tree grid functionality? #530

Closed
RaviGprec opened this issue Jan 10, 2018 · 7 comments
Labels

Comments

@RaviGprec
Copy link

I'm looking for tree grid functionality for my project.

If there is anything in this package that meets this requirement please let me know.

@KeithGillette
Copy link
Contributor

You can probably embed your own datatable via ng-template inside Angular Tree Component. If you need something more plug-and-play, check out PrimeNG's TreeTable. It's certainly not as full-featured as angular-tree-component in terms of tree-view functionality, but gives you the table/grid out-of-the-box.

@RaviGprec
Copy link
Author

Hi @KeithGillette ,

Thanks for the reply. Could you tell me how to use "ng-treetable" inside "angular-tree-component" ?

Right now, I removed "angular-tree-component" from my project and am using ng-treetable.
But this ng-treetable is not fully featured package. ng-treetable is just giving treetable but it does not provide drag-drop functionality.

I don't know what to do. My requirement is:
1. Develop a tree table in two pans.
image

  1. This treetable should have drag-drop functionality.

But this angular-tree-table is proving all the functionality except "treetable".

It would be great if you have any suggestions @KeithGillette

Thanks in Advance!!
Regards,
Ravi Kumar

@KeithGillette
Copy link
Contributor

Hi @RaviGprec,

I haven't tried to create the kind of treetable layout you're attempting, so I don't have any detailed guidance to give. I'd start by looking at the ng-treetable and PrimeNG TreeTable templates to see how they are creating the table columns (probably just a <table> layout), then attempt to recreate that inside of an angular-tree-component <ng-template> or completely custom template if you need more flexibility.

@RaviGprec
Copy link
Author

Hi @KeithGillette ,

Sounds perfect 👍 !! Thank you so much @KeithGillette 🙏.

Please let me know when you are done with this. Not only me, but I have seen many people are looking for this kind of feature. If you add this tree-table to your "angular-tree-component" it would be great help for people like me.

Many thanks for that!!:blush::blush:
Regards,
Ravi kumar

@RaviGprec
Copy link
Author

Hi @KeithGillette ,

Do you have any update on this issue?

Thanks in Advance!

Regards,
Ravi Kumar

@KeithGillette
Copy link
Contributor

I think you misunderstood my reply, @RaviGprec. I wasn't offering to code the solution, just referring you to another library that has a tree table component and then outlining an approach to using custom templates that might give you what you need with angular-tree-component.

("I'd" == "I would" ==> "If I were to attempt this, the approach I would try…")

@tobiasengelhardt
Copy link
Contributor

We're in the process of creating a new documentation. How to do a tree grid style implementation with a custom template will be part of it.

Closing this issue due to inactivity. Please open a new issue if the problem still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants