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
So I have a Group model, which has many-to-many-through with UserGroup1 and UserGroup2, and are displayed in the same row like this:  However,...
Hi guys , I have a problem while searching in the table if i use association . I have pasted the codes below . **Audit logs Model :** ``` class...
Is ist possible to combine queries into a single column in `view_columns`? ```ruby first_name: { source: 'User.first_name' }, last_name: { source: 'User.last_name' }, name: { source: {{query_both_above}} }, ``` In...
Hi, I have a query like this ` Aaa::Module::Classification.unscoped.includes(:root_classification) ` So I includes the same table... My table have these fields root_classication name_classification... the problem is that in searchable_columns I...
``` #models class Message < ActiveRecord::Base belongs_to :recipient, polymorphic: true belongs_to :person, foreign_key: 'recipient_id', conditions: "message.recipient_type = 'person'" end class Person < ActiveRecord::Base has_many :messages, as: :recipient end #datatable def...
Hi, is there any way to filter a column that is based on a virtual attribute? Thx and greetings Holger
As can be seen in the README [at the end of section 3a](https://github.com/jbox-web/ajax-datatables-rails#a-declare-columns-mapping) we can manipulate the value of a search string before querying My question is, is there a...
This PR solves the same issue as #406 but it keeps the current definition of default value. This ensures that the tests are still able to pass. This is issue...
gem 'ajax-datatables-rails', '~> 1.2.0' ``` def view_columns @view_columns ||= { select: { source: 'Node.record_guid' }, ip: { source: 'Node.ip' }, dns: { source: 'Node.dns' }, os: { source: 'Node.os' },...