ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Tree grid support

Open pro85 opened this issue 13 years ago • 8 comments

Wery userfull functionaly is tree grid. Like in jqGrid.Will this functionaly add to enhancement.

pro85 avatar Feb 12 '13 13:02 pro85

Not entirely sure what you are asking here. Are you asking that you want us to support data supplied as an object of pre-defined hierarchical data? I think this could be done relatively easily since we already construct an object similar to what jqGrid uses to group data. we would have to document how to construct it so you could follow the proper convention.

orneryd avatar Feb 12 '13 23:02 orneryd

Yes need support hierarchical data.

pro85 avatar Feb 19 '13 07:02 pro85

When you have multiple grouping it looks a lot like a tree already, wow! So support for hierachical data wouldn't be too far off. However, as soon as you start with a tree view, there will be some further demands right ahead, as this is the stuff people (almost) always want to do with trees ;)

1.) Drag and drop elements within the tree 2.) Load nodes on demand

I wonder if it makes sense to integrate a full blown tree into the grid. It would be cool, but are the two views similar enough?

Narretz avatar Feb 21 '13 11:02 Narretz

I agree; an "ng-treeView" would be awesome, but I think it's best left for a separate project.

Siyfion avatar Feb 21 '13 12:02 Siyfion

Agreed, this should be a separate project. looking at the internals of the system I think that would be much easier to do a separate project.

orneryd avatar Feb 22 '13 06:02 orneryd

Looking for TreeGrid implementation in Angular and it seems like this is the most solid reference so far, did a TreeView Grid ever come to fruition from this discussion? ng-TreeView (mentioned above) is a standard tree display (not a grid).

ktiedt avatar Apr 11 '14 15:04 ktiedt

We will be started a subgrid feature in a few weeks that could serve as a treeview. First priority is to release 3.0 with basic features.

swalters avatar Apr 11 '14 15:04 swalters

Thanks for the quick response!

ktiedt avatar Apr 11 '14 15:04 ktiedt