ajax-datatables-rails
ajax-datatables-rails copied to clipboard
A wrapper around DataTable's ajax methods that allow synchronization with server-side pagination in a Rails app
I might have overlooked something, but can't we skip escaping records hash values, so we could use for example `DT_RowAttr`? I tested it locally and it all works just fine
Hi! I noticed searching by multiple words, triggers a query that searches by each of the individual words (smart search). https://github.com/jbox-web/ajax-datatables-rails/blob/b79f3bfc78142516583616e66a37004c7d98fdd4/lib/ajax-datatables-rails/orm/active_record.rb#L55 I couldn't find any way to disable this behaviour...
**Hi**, I'm following the DateRange instructions and works fine, but when I use the default search field with numbers major that 31 I got an error.  --- this is...
Hello, ajax-datatables-rails gem has method called data in datatable file.I have hash values ( key,value) so while iterating it throws below warning - DataTables warning: table id=user-datatable - Requested unknown...
I wanted to be able to search against a calculated field, and so extended my `get_raw_records` defintion to perform a join+group, as described in [Rails Guides](http://guides.rubyonrails.org/active_record_querying.html#left-outer-joins): > Author.left_outer_joins(:posts).distinct.select('authors.*, COUNT(posts.*) AS...
Taking same city example: **How to proceed if I want to sort by "full_name"?** **City model** : ` class City < ApplicationRecord belongs_to :country def full_name name + ' city'...
Hi @n-rodriguez I am willing to build the Mongoid support for ajax-datatables-rails. I followed https://github.com/jbox-web/ajax-datatables-rails/issues/110 but seems like there have been drastic changes since 0.4.0 to the core library. Do...
I have to work with quite some big tables where we use information from various models. Often joining multiple information from the same table, but through a different association. For...
my concern is that, the gem assumes that search should only be done on the columns which are displaying on the table.. how can i skip the entire view_columns and...