Datatable icon indicating copy to clipboard operation
Datatable copied to clipboard

new version 1.10.1

Open carlituxman opened this issue 10 years ago • 4 comments

since 1.10.1 version some options have change.

for example bServerSide now is serverside

carlituxman avatar Jul 15 '14 18:07 carlituxman

You can just use the new options. I'm using this right now and it works fine:

  var table = $('#dtTable').DataTable({
    ajaxSource: "url_to_ajax_source",
    serverSide: true,
    autoWidth: false,
    paging: true,
    pageLength: 25,
    pagingType: "full_numbers"
  });

prateem avatar Jul 19 '14 05:07 prateem

Also having this issue. Tried using new options but did not work.

rustywebguy avatar Sep 21 '14 12:09 rustywebguy

Although datatables fortunately provide backwards compatibility for 1.10.x, it would be great if this package could be updated to handle the new parameters. E.g. using "ajax" instead of "ajaxSource" passes an entirely new data structure (below) that is currently unable to be parsed correctly for the most part.

_   1413316200419
columns[0][data]    0
columns[0][name]    
columns[0][orderable]   false
columns[0][search][regex]   false
columns[0][search][value]   
columns[0][searchable]  true
columns[1][data]    1
columns[1][name]    
columns[1][orderable]   true
columns[1][search][regex]   false
columns[1][search][value]   
columns[1][searchable]  true
draw    1
length  25
order[0][column]    1
order[0][dir]   desc
search[regex]   false
search[value]   
start   0

zillarelli avatar Oct 14 '14 19:10 zillarelli

I will do this for version 3.x I will start prototyping today to see if everything works out so far.

Chumper avatar Nov 25 '14 16:11 Chumper