Lines 1-3
Link Here
|
|
|
1 |
// These default options are for translation but can be used |
2 |
// for any other datatables settings |
3 |
// To use it, write: |
4 |
// $("#table_id").dataTable($.extend(true, {}, dataTableDefaults, { |
5 |
// // other settings |
6 |
// } ) ); |
7 |
var dataTablesDefaults = { |
8 |
"oLanguage": { |
9 |
"oPaginate": { |
10 |
"sFirst" : _("First"), |
11 |
"sLast" : _("Last"), |
12 |
"sNext" : _("Next"), |
13 |
"sPrevious" : _("Previous") |
14 |
}, |
15 |
"sEmptyTable" : _("No data available in table"), |
16 |
"sInfo" : _("Showing _START_ to _END_ of _TOTAL_ entries"), |
17 |
"sInfoEmpty" : _("No entries to show"), |
18 |
"sInfoFiltered" : _("(filtered from _MAX_ total entries"), |
19 |
"sLengthMenu" : _("Show _MENU_ entries"), |
20 |
"sLoadingRecords" : _("Loading..."), |
21 |
"sProcessing" : _("Processing..."), |
22 |
"sSearch" : _("Search:"), |
23 |
"sZeroRecords" : _("No matching records found") |
24 |
} |
25 |
}; |
26 |
|
27 |
|
1 |
// Return an array of string containing the values of a particular column |
28 |
// Return an array of string containing the values of a particular column |
2 |
$.fn.dataTableExt.oApi.fnGetColumnData = function ( oSettings, iColumn, bUnique, bFiltered, bIgnoreEmpty ) { |
29 |
$.fn.dataTableExt.oApi.fnGetColumnData = function ( oSettings, iColumn, bUnique, bFiltered, bIgnoreEmpty ) { |
3 |
// check that we have a column id |
30 |
// check that we have a column id |