Giter VIP home page Giter VIP logo

tafel_tree_view's Introduction

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 : [email protected]

Copyright (c) 2010,  Boguslaw Tarnowski, released under the MIT license

tafel_tree_view's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.