jbox-web/ajax-datatables-rails

@coderawal I have never played with the functionality you're trying to implement, but it looks like you're mixing syntax from 2 different versions of the jQuery plugin in your code sample.

Closed this issue · 0 comments

@coderawal I have never played with the functionality you're trying to implement, but it looks like you're mixing syntax from 2 different versions of the jQuery plugin in your code sample.

If I recall correctly, jQuery.dataTables version 1.10 uses camelCase for all params and variables, like you have in the lines of: processing, serverSide, ajax, pagingType; while jQuery.dataTables version 1.9 uses hungarian notation for params and variables, like you have in the lines of: oSettings.bSorted, oSettings.aoData, oSettings.aiDisplay.

According to the documentation you linked earlier: http://www.datatables.net/examples/api/counter_columns.html, the code is not complicated to implement, once you have the proper values returned.

Originally posted by @antillas21 in #64 (comment)