Comments (6)
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.
Cool, that sounds great. In my case I don't require dynamic columns.
Thanks :)
from effective_datatables.
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.
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.
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.
Excellent. Thanks.
from effective_datatables.
Related Issues (20)
- buttons_export_columns not working in input_js HOT 2
- any plan on building effective datatables for tailwind? HOT 1
- modal in effective-datatables HOT 1
- searching on association table (not foreign key) causes crashes HOT 1
- config.save_state not working HOT 6
- Click on Select all HOT 5
- Stuck on first datatable some doubts. HOT 10
- Custom Inline Action Buttons from Array of Arrays HOT 3
- When joining multiple tables (with the Collection) the row count for paging becomes very slow HOT 4
- Set Width in column not working HOT 4
- uninitialized constant Ability HOT 2
- speeding up fuzzy searches HOT 2
- attributes not available in actions_col? HOT 1
- Auto-compute column labels using AR I18N HOT 2
- Rails 7 HOT 5
- download all option triggering network failure HOT 1
- weird UI on initial load; refresh fixes it HOT 4
- ActionView::Template::Error (undefined method `sql_operation' for #<Effective::Resource:0x00007f91316954a0> HOT 1
- Out of date jquery.dataTables.js HOT 3
- SQL queries loaded twice, serverside and ajax HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from effective_datatables.