Questions tagged [jquery-datatables-rails]

a Ruby gem that includes the jQuery DataTables plugin in the Rails asset pipeline

jquery-datatables-rails is a Ruby gem that includes the jQuery DataTables plugin in the Rails asset pipeline.

References

Related Tags

25 questions
0
votes
1 answer

mvc how to display datetime in date format

In Mvc how to display DateTime in Date Format Like 1/1/2015 12:00:00 AM, This Date Format I Wana to show 1/1/2015 @foreach (var ee in…
user8518202
0
votes
1 answer

Search Datatable after data loaded

I'm using DataTables 1.10 in a Rails 4.2 project. I have the following in a js asset file: var table = $('#ticket_details').DataTable({ stateSave: true, deferRender: true, ajax: $('#ticket_details').data('source'), "columns": [ { "data":…
thenapking
  • 135
  • 14
0
votes
2 answers

DataTables + yadcf Add a Class to Filtered Column

Is there a way to add a class to filtered columns using yadcf? As for now, When I filter a column on my table using a select box provided by yadcf, I can't seem to show that the column is filtered. I want to add a class to the columns
EmpId
so that I…
0
votes
1 answer

Ajax Datatables Rails - Query not working for show-method

Let's start with the database-model: # => ProductSelection.rb has_many :products, -> { uniq }, through: :product_variants # => Product.rb has_many :product_informations belongs_to :product_configuration belongs_to :product_class Using plain Ruby…
Philipp Meissner
  • 5,273
  • 5
  • 34
  • 59
0
votes
1 answer

Responsive Details Not Showing On jquery-datatables-rails

I've been trying to make this work and I can't seem to find a solution: I have a table and I have a basic initialization of the Datatables everything seems to work fine but once the responsive gets activated the details button doesn't work if I…
0
votes
1 answer

Adding data makes dataTables to disappear - Can't have data in my table otherwise dataTable doesn't work

I am a beginner on Ruby on Rails and I am currently developing an application for which I would like to install the gem dataTables. Once I have installed the gem and followed the instructions nothing happen and there are no changes. My tables remain…
0
votes
1 answer

Return multiple rows from table to Rails controller action

Rails 4.0.1, Ruby 2.0.0, Datatables 1.10, jquery-datatables-rails 3.1.1 I have a table that has multiple rows selected by specifying a class of .active on the desired rows. I want to return the active rows, actually a single field from the active…
Richard_G
  • 4,700
  • 3
  • 42
  • 78
0
votes
1 answer

Need two buttons to index either all items or items current user is assigned?

Ruby 2.0.0, Rails 4.0.3, jquery-datatables-rails 2.2.3 (DataTables 1.10.2) I would like to have two buttons on my form, one to display all items and another to display only those items currently assigned to the current user. Given that I am even…
Richard_G
  • 4,700
  • 3
  • 42
  • 78
0
votes
1 answer

Selenium through Capybara not loading page with jQuery dataTables 1.10.0

I upgraded our dataTables today from jQuery 1.9.2 to 1.10.0 through the https://github.com/rweng/jquery-datatables-rails gem. I performed all of the upgrade steps and everything works out now in the interface as expected. I tested this both on…
0
votes
0 answers

Coffeescript to detect events in jquery-datatables-rails

I apparently have no CoffeeScript-fu. I've got a Rails 4.1 app with jquery-datatables-rails and everything works perfectly. However, I would like to hide a class any time the datatable is ordered OR searched (I'd be happy if I could figure out one…
1
2