Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a sortable tree/grid in Javascript [closed]

I'd like to create a tree structure from JSON, but with multiple columns that can be sorted. I've seen lots of implementations of trees and grids but never one mixed.

Does anyone know of a plugin or feature for any Javascript toolkit that can make this happen so I don't have to re-invent the wheel here?

like image 936
Eric Wendelin Avatar asked Oct 10 '08 23:10

Eric Wendelin


2 Answers

This seems pretty nice: http://www.max-bazhenov.com/dev/ux.maximgb.treegrid/index.html

Uses ExtJS, which has some licensing limitations you have to consider.

like image 63
eyelidlessness Avatar answered Sep 17 '22 21:09

eyelidlessness


I found all these components:

  • Coqsoft Treegrid, commercial, seems the non plus ultra!
  • Ext JS, commercial:
    • Column Tree component *
    • Nested Grid, that is Grid Plugin with Row Expander modified by Mikhail
    • Ext.ux.maximgb.treegrid, another mod, by Max (the one proposed by eyelidlessness)
  • JQTreeTable, minimal, requires jQuery *
  • Treetable, plugin for jQuery *
  • dojo-treetable, based on Dojo *
  • Maxdesign, it's simply a good css *

* seems not sortable

Personally I'm trying Treetable and, after some configurations (rummaging in the examples in the source of the documentation page...), I'm enjoying its simplicity and clarity.

like image 30
bluish Avatar answered Sep 20 '22 21:09

bluish