rweng / jquery-datatables-rails

jquery-datatables gem for rails
MIT License
564 stars 338 forks source link

hello, I have trouble putting the style PreviousNext as I can change it to organize Spanish language? #50

Closed montes2012 closed 11 years ago

montes2012 commented 11 years ago

hello, I have trouble putting the style PreviousNext as I can change it to organize Spanish language?

I have until the well datatable

should to be well datatable2

ZenCocoon commented 11 years ago

Hi @montes2012,

Make sure to look at http://www.datatables.net/blog/Twitter_Bootstrap_2 for the required initialization to work well with Twitter Bootstrap.

I close this issue as this should solve it, but feel free to reopen otherwise.

montes2012 commented 11 years ago

ZenCocoon thanks for replying I did what you indicated but does not work

Séguié the steps of the fitting as shown in https://github.com/rweng/jquery-datatables-rails and also follow this tutorial http://railscasts.com/episodes/340-datatables but my goal achievement

I have so far so datatable4 and I need it to look so datatable3

ZenCocoon commented 11 years ago

Could you please send a copy of your datatable initializer. Thank you.

montes2012 commented 11 years ago

datatable ZenCocoon thanks for responding, and get the pagination bootstrap, the problem that I have is to change the language to Spanish.

initializer data table is bitacoras.js.coffe

jQuery ->    $ ('# shifts'). dataTable