Simple Tree view code required


#1

Hi all,

Being a newbie in Ruby, I’m really fed up trying almost all the
available tree examples in net like YUI Tree, dhtmlxTree, LiveTree in
vain. None of them worked for me.
Could anyone please give me a simple example (preferably end-to-end) of
Tree view?
Requirements: 3 levels of items, Data may be fetched from more than 1
table.

Please help me…

Tony P.


#2

What didn’t work about them? What was lacking?

On Feb 23, 10:06 pm, Tony P. <rails-mailing-l…@andreas-


#3

Eric wrote:

What didn’t work about them? What was lacking?

On Feb 23, 10:06�pm, Tony P. <rails-mailing-l…@andreas-

Hi Eric,

Thanks for your response.

For instance, I was blindly following Sonjaya Tandon’s wonderful doc
(1). It gave me no error and no result as well (just a blank area
instead of tree list). So is the case with Christopher Haupt’s doc (2).
I do know, issue is with me, but fail to identify.

It would be very helpful if you can give me a simple working example, be
static data (say, Array).

http://sonjayatandon.com/07-2006/how-to-integrate-a-yui-tree-with-rails/
2.
http://www.buildingwebapps.com/articles/6415-using-yahoo-s-user-interface-library-treeview

Thanks & regards,

Tony P.