Code Monkey home page Code Monkey logo

Comments (6)

matt-riemer avatar matt-riemer commented on June 26, 2024

Hey @Nerian

Amg man you're a beast. chewing through this gem :) I will respond to your other Issues later today.

I am actually working on a 3.0 branch of effective_datatables...where this has already been implemented. Kind of.

There's a catch or two with it...(datatables js doesn't support dynamic columns).

Thanks for everything!

from effective_datatables.

Nerian avatar Nerian commented on June 26, 2024

Cool, that sounds great. In my case I don't require dynamic columns.

Thanks :)

from effective_datatables.

matt-riemer avatar matt-riemer commented on June 26, 2024

Hey @Nerian,

Thanks so much for your pull requests. I get a small number of Issues opened, but very few outside contributors send PRs. Thanks for working through these issues!

I have merged all your changes to-date, and released effective_datatables 2.12.0

I use this on a ton of my client-facing websites, and it gets a lot of development time / love.

I hope the gem is working out well for you, with these adjustments :)

Just FYI, I've been working on a re-write of this gem -- 3.0 -- that will clean up a lot of the initialization, allow all view methods to be used anywhere, support state saving via cookie, and fix some of the searching/ordering issue with belongs_to and has_many collections. Bunch of other random fixes. I am hoping to see that released sometime near end of March!

from effective_datatables.

Nerian avatar Nerian commented on June 26, 2024

It's a fantastic gem, you have done a great job at documentation and the DSL is really nice. It doesn't seem to be a popular gem ( I found this project in https://www.ruby-toolbox.com/) , but it really is the best because it packages everything you need for interactives tables so I think it has a great potential. I am looking forward to use the effective_form_inputs too.

Those new features sounds really good. One thing I could use too is the ability to render a partial for the scopes, instead of the automatic view. The default view is great for prototyping, but I can see things that I would to different for some complex UI I have in mind for my project. The ability to use partials for the scopes, as you can use for the actions, would be really nice. But I am unsure how would that play out with the changes you plan to do in order to support Ajax powered scopes.

Let me know if you need some help or want to testing done, I plan to use this gem extensively so I will help you :)

Thanks!

from effective_datatables.

matt-riemer avatar matt-riemer commented on June 26, 2024

The documentation has kind of fallen behind implementation....You can pass an partial: to the scopes declaration...Or you could override /views/effective/datatables/_scopes.html.haml entirely.

Check out the /app/helpers/effective_datatables_helper.rb and render_datatable_scopes.

It's probably not as full featured as it could be! :)

I'll totally shoot you a message as I get the 3.0 going, I'd love some help testing. Thanks @Nerian !!

from effective_datatables.

Nerian avatar Nerian commented on June 26, 2024

Excellent. Thanks.

from effective_datatables.

Related Issues (20)

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.