Skip to content Skip to sidebar Skip to footer

Format Currencies When Datatable Is Created

var oTable = $('#table').dataTable({ 'bJQueryUI': true, 'aaData': jsonList, 'bPaginate': true, 'aoColumns': [ { 'mDataProp': null, 'sC

Solution 1:

You can use the fnDrawCallback function.

var oTable = $('#table').dataTable({

   "fnDrawCallback": function (oSettings) {
      // Format Currency here
    }

}

You can check the documentation for more details about possible callback functions.

Post a Comment for "Format Currencies When Datatable Is Created"