-
Notifications
You must be signed in to change notification settings - Fork 0
Plugin can be used to present data with ajax tree.
License
ubik86/tafel_tree_view
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TafelTreeView ============= This plugin can be used to show ajax tree with various data. TafelTreeView work with acts_as_tree, TafelTree JS and Prototype. You must have acts_as_tree plugin in vendor/plugins, and call acts_as_tree in model This is beta version. Please check and let me know if something doesn't work ;) Example ======= foo.tafel_tree_build {|node| "#{node.id}: #{node.description} = #{node.value}"} # foo must be ActiveRecord object, with parent_id column tafel_tree_display(tree_data,'somediv', options = {}) # Model acts_as_tree # require acts_as_tree ! acts_as_tafel_tree # View <%= tafel_tree_include %> # include js and css in view <% = tafel_tree_display(tree, div ,options = {}) %> # display treeview TafelTree documentation : http://tafel.developpez.com/site/lang/en/index.php Contributors ======= Adam Przymusiała, http://przymusiala.net, 3is.pl Contact ======= Any bugs, questions, comments please feel free to email me : boguslaw.tarnowski@gmail.com Copyright (c) 2010, Boguslaw Tarnowski, released under the MIT license
About
Plugin can be used to present data with ajax tree.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published