server-side processing with POST example help

server-side processing with POST example help

djm123djm123 Posts: 1Questions: 0Answers: 0
edited March 2014 in General
Hi, I'm new to DataTables and I have a problem with adding a new column in the server-side processing with HTTP POST example.

I have 3 columns in the DataTable, 2 of which will be coming from my database. In the post.php file i've left the columns array as below, leaving a space for the third column.

[code]
$aColumns = array( 'partno', 'desc', ' ' );
[/code]

In the Optional Configuration section to add a column I then have the following;

[code]
$sOutput .= '';
[/code]

Nothing is happening and the table is stuck at the "processing..." stage. Can someone direct me to the correct format I should use for the optional configuration? Assuming that is what I'm doing wrong.

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    What is the return from the server?

    I have a suspicion that the space in the aColumns array is breaking things...

    Allan
This discussion has been closed.