Giter VIP home page Giter VIP logo

jquery-treetable-ajax-example's People

Contributors

ludo avatar steveo7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-treetable-ajax-example's Issues

Backwards compatible with rails 3.0?

I tried implementing this on rails 3.0 and was wondering if this method can also be utilized in rails 3.0 or does it only apply to 3.2 ?
Thank you

Using ajax

How add rows, do not refresh the page, just refresh the table。

Getting "Error code: STATUS_BREAKPOINT" error in the chrome browser

In my web application, when I click on the parent(top) node, I am calling API using AJAX. Once I get the response in AJAX, I am appending data to under the parent(top) node using the loadBranch function. But before loading data into a table, the browser is displaying the following message -

Something went wrong while displaying this webpage
Error code: STATUS_BREAKPOINT

I have also noticed this behavior when I load more than 1000 parent nodes.

Online Example?

Is there an on line example of the treetable ajax example OR an example that is is in something else beside ruby?

Thank You,
~Donavon

bundle install fails

hi,

you should bump rails version to 4.1.2

4.1.1 do not work any more with your configuration as it depends on i18n version that is no longer in gems repositories... don't no why..

bumping to 4.1.2 and doing bundle update solves the problem and demo works like a charm

regards,
Michal

Plugin update problem

Ludo, Your last commit broke the example code. I think it may have to do with the case change on treeTable to treetable in the plugin. The dynamic expanding and DD is not working.
THanks for this example anyway, it's been great for my learning. If I figure out whats wrong, I'll post it back.

db:seed not working

Hey thanks for this example code but db:seed fails with this error;

No such file or directory - tree -XDh

Incompatible with jQuery version > 1.9

$("#tree .file, #tree .directory").live("mouseenter", function()...

The jQuery "live" function has been deprecated long time ago. From version 1.9, it has been removed.

The 'jquery-rail' gem loads version 1.11 of jQuery.

Quick fix: On the gem file, change the 'gem jquery-rail' to look:

gem 'jquery-rails', '2.1.2'

That will force rail to load an earlier version (1.8.2) version of jQuery that supports the live function.

Better fix:

Replace the 'live' function by 'on()' function. The on() call is slightly different than the live() function.

Example not working after following information

When I load the image into the rails 3.2 and ruby 1.9.2, I get a file explorer of what seems to be the source folder with no options to expand and only shows folders and files. Am I doing something wrong?

Safari browser works really slow

I have table with about 1000 table rows. When I call method
$("#example-advanced").treetable({expandable: true});
on Chrome Browser it works very fast, about 3 seconds.

But on Safari browser it works more slowly.

Finally, on IPad2 Safari Browser it works VERY VERY SLOW. About 1 minute.

Can you improve performance for Safari Browsers ?

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.