Closed Vadorequest closed 10 years ago
I guess the version of DataTables bundled with this gem is version 1.9.4 and the documentation found on http://datatables.net/ is for version 1.10 which might explain why it does not work?
Hum, except that I should be using the 0.10. See https://github.com/rweng/jquery-datatables-rails/issues/96
@Vadorequest I am working at 1.10, but i haven't time,
I want to use 1.10 version, you can use (temporary) at your Gemfile:
gem 'jquery-datatables-rails', git: 'git://github.com/ricardodovalle/jquery-datatables-rails.git'
It is working Bootstrap and Responsive I not closed this personal repo, because I am using at production and working it, I will merge soon.
With you want to help, I can add you ass collaborator, just ask.
Thanks
I use your personal repository, it works with the 1.10 keys, but I don't understand how apply the theme. I doesn't work as before.
assets/javascripts/application.js
//= require dataTables/jquery.dataTables
//= require dataTables/bootstrap/3/dataTables.bootstrap
// require dataTables/jquery.dataTables.typeDetection.numbersHtml
//= require dataTables/extras/ZeroClipboard
//= require dataTables/extras/dataTables.tableTools
//= require dataTables/extras/dataTables.fixedColumns
//= require dataTables/extras/dataTables.colReorder
//= require dataTables/extras/dataTables.colVis
assets/stylesheets/application.css.scss
*= require dataTables/jquery.dataTables
*= require dataTables/jqueryui/dataTables.jqueryui.scss
*= require dataTables/foundation/dataTables.foundation
*= require dataTables/bootstrap/3/dataTables.bootstrap
*= require dataTables/extras/dataTables.tableTools
*= require dataTables/extras/dataTables.colVis
*= require dataTables/extras/dataTables.colvis.jqueryui
*= require dataTables/extras/dataTables.colReorder
*= require dataTables/extras/dataTables.fixedColumns
Screenshot: https://docs.google.com/file/d/0ByzbHcAxmCyvUUdoazBnc1RteDg/edit
@joerichsen Yss, I can confirm that 1.12 is using 1.9.4. The pagination keys work when using 1.9.4 documentation.
@Vadorequest It is solved? Can I close the issue? (I am trying to clean the gem issues, i did several updates, please read the README before update)
Thanks.
I don't remember how I did but I fixed it somehow.
I'm a bit wondering what I should write in the object used to initialize my datatable. For now I have this one:
There are two different keys in the official documentation see http://datatables.net/forums/discussion/21184, but does the
sPaginationType
still used by this app?By the way what I wrote doesn't work, if you have any idea why... Thanks!