Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82456

aoColumns & columnDefs

$
0
0

Hi, i had 2 question i'm try to use columnDefs to declare title and sorting element but i got this error " Uncaught TypeError: Cannot read property 'aDataSort' of undefined" in chrome debugger.

if i revert and i use "aoColumns" everything work, but i think aoColumns is legacy version (i use the 1.10.4 from maxcdn).

i need to associate an extra attribute to each column header, something like ' lang="xyz" ' to allow jquery-lang plugin to translate the column headers. how i con do it ? how i can add extra attributes to columns headers ?

thanks in advance /stefano


Viewing all articles
Browse latest Browse all 82456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>