tree view

23 views
Skip to first unread message

Sean DiZazzo

unread,
Oct 17, 2011, 2:00:23 PM10/17/11
to TurboGears
Hi Wondering if anyone has advice on making a dynamic treeview. I'm
trying to use tw.jquery because I like the way it looks but I realize
extjs treeview is another option. I am kind of trying to display part
of a filesystem. So what I would like to do is calculate the tree in
the controller and send it via json to the widget. Extjs has a
fetch() parameter to populate the tree but I don't see anything
similar on the jquery widget.

Thanks for your advice.

~Sean

Tim Black

unread,
Oct 17, 2011, 2:48:48 PM10/17/11
to turbo...@googlegroups.com
I'm using jqGrid similarly.  After having used an ExtJs treegrid for a while (and running into some difficulties with the complexity of configuring it), I switched to jqGrid because its configuration is simpler, it matches jQuery UI theming, and had enough features for me.  Here are the demos & feature list:  http://trirand.com/blog/jqgrid/jqgrid.html.  Docs are at http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jqgriddocs.  Treegrid configuration is detailed at http://www.trirand.com/jqgridwiki/doku.php?id=wiki:treegrid.  Currently jqGrid doesn't support drag and drop of tree nodes, but it provides drag and drop support that can be configured to allow dragging and dropping nodes (I'm aiming to make a forum post documenting how to do this in the future.)

Tim

Sean DiZazzo

unread,
Oct 17, 2011, 9:05:08 PM10/17/11
to TurboGears


On Oct 17, 11:48 am, Tim Black <t...@alwaysreformed.com> wrote:
> I'm using jqGrid similarly.  After having used an ExtJs treegrid for a
> while (and running into some difficulties with the complexity of
> configuring it), I switched to jqGrid because its configuration is
> simpler, it matches jQuery UI theming, and had enough features for me.
> Here are the demos & feature list:http://trirand.com/blog/jqgrid/jqgrid.html.  Docs are athttp://www.trirand.com/jqgridwiki/doku.php?id=wiki:jqgriddocs.  Treegrid
> configuration is detailed athttp://www.trirand.com/jqgridwiki/doku.php?id=wiki:treegrid.  Currently
> jqGrid doesn't support drag and drop of tree nodes, but it provides drag
> and drop support that can be configured to allow dragging and dropping
> nodes (I'm aiming to make a forum post documenting how to do this in the
> future.)
>
> Tim

Thanks for the links Tim. I didn't realize jqGrid made a tree. I
messed around a bit with it but don't think I have the patience for it
right now.

Gonna go with a lower tech solution this time. lol

~Sean
Reply all
Reply to author
Forward
0 new messages