Hi,

First, sorry my english...
Second:
I've been developing a new plug-in. The tree view layout  is build over DOM
nodes and using css styles.

The main difcult about tree views is the recursive function running over all
register.
I solve this!
The jqTreevial plug-in only needs a JSON object builded from result of the
follow query:
"SELECT id, id_parent, string FROM self-relation-table ORDER BY id_parent
ASC"
JSON =
{"elem":[{"id":"1","string":"food","id_parent":"0"},{"id":"2","string":"fruit","id_parent":"1"},{"id":"3","string":"meat","id_parent":"1"},...]}
That's all!!!
visit http://sourceforge.net/projects/jqtreevial/ and download the last demo
version.

Thanks!

Dirceu Barquette

Reply via email to