Server Side Processing - 9th Or greater column not appearing.

Server Side Processing - 9th Or greater column not appearing.

troydtroyd Posts: 2Questions: 1Answers: 0
edited June 2015 in Free community support

Hi,

I'm using the latest version of datatables (1.10.7) and utilizing a POST request on the client side when accessing the server to populate my table. Everything is great, except when I go to add the 9th column.

Problem: 9th or greater column will not display when using serverside processing. All data previous to the 9th column displays correctly. This holds true regardless of the amount of rows requested.

I'm using PHP on the server side, and this is the array that is built for the json response.

                      $row1 = array(   


                "DT_RowId"=> $result['semrun_id'],
                "DT_RowClass" => 'viewer_clickable',

                 "0"=>'<b> '.$result['semrun_id'].'</b>',
                 "1"=>' '.$result['project_id'].'',
                  "2"=>' '.$result['process_id'].'',
                 "3"=>'<b style="font-size:12px"> '.$result['samplename'].'</b>',
                 "4"=>''.$result['type'].'',
                 "5"=>''.$result['firstname'].' '.$result['lastname'].'',
                 "6"=>''.date('Y-m-d',strtotime($result['claimed_datetime'])).'',


                "7"=>   ''.$view_button.''.$report_link.'',
                "8"=>   'test column',





                );


                    array_push($repsonse['aaData'], $row1);

Has anyone experienced this, or have some advice?

This discussion has been closed.