Best options for an AngularJS Tree Grid

I know its a two months old question, but I needed the same thing and just came across this grid Adapt-Strap.

I used it some small examples and worked fine so far, seems really easy to use, has drag-drop/pagination/lazy loading.

I think its worth a try, and fyi: I have no connection what so ever with the developers there.


My Suggestion would be Angular UI-Grid. In its current version, there are many configuration options, also for Trees:

Website: http://ui-grid.info/

Expandable Grid: http://ui-grid.info/docs/#/tutorial/216_expandable_grid


IgniteUI Tree Grid (not to be confused with the ugly Hierarchical Grid)

Whilst not perfect, this seems like a reasonable option.

Pros

  • Looks nice enough
  • Has a few plugins for sorting, filtering, paging, pinning etc.
  • Lazy loading of children can be integrated by listening to expand events (and possibly the InfragisticsLoader)

Cons

  • No out-of-the-box AngularJS integration
  • No "Infinite Scroll" out-of-the-box

Its also pretty simple to use:

$("#treegrid").igTreeGrid({
    width: "100%",
    dataSource: data,
    primaryKey: "employeeID",
    columns: [
        { headerText: "Employee ID", key: "employeeID", dataType: "number" },
        { headerText: "Name", key: "name", dataType: "string" }
    ]
});

I have created a sample jsFiddle here: http://jsfiddle.net/immersion/qggbs0s6/