Default language issue

Default language issue

DiederikvandenBDiederikvandenB Posts: 3Questions: 0Answers: 0
edited April 2014 in DataTables 1.10
Hey!

I think I came across a little bug. I am trying to set default language settings for my website (multiple datatables) because otherwise it clogs up my code. However, when I do this, following the doc's instructions, the table doesn't render anymore.

A fiddle can be found here:
http://jsfiddle.net/F5D2u/

Furthermore, thanks for your continuous development. It makes this plugin awesome!

Replies

  • DiederikvandenBDiederikvandenB Posts: 3Questions: 0Answers: 0
    edited April 2014
    To elaborate: when you remove the language option, everything functions properly.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Two things:

    1. You need to do a deep extend since there is a nested object - add `true` as the first parameter for `$.extend` .

    2. DataTables 1.10-beta.2 has a bug on the language defaults with camelCase notation. Use the current nightly ( http://datatables.net/download ).

    http://jsfiddle.net/F5D2u/1/

    Allan
  • DiederikvandenBDiederikvandenB Posts: 3Questions: 0Answers: 0
    You are a legend: I have never encountered someone who responds this fast to issues. Thank you very much!!
This discussion has been closed.