Syntax of AJAX request
Syntax of AJAX request
yshtil
Posts: 17Questions: 6Answers: 0
Where can I find a description of what each field in an AJAX request means?
Here is an example of what I see on the server side:
'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'
'columns[2][data]' => 2
'columns[2][name]' => ''
'columns[2][orderable]' => 'true'
'columns[2][search][regex]' => 'false'
'columns[2][search][value]' => ''
'columns[2][searchable]' => 'true'
'draw' => 1
'length' => 20
'order[0][column]' => 1
'order[0][dir]' => 'desc'
'search[regex]' => 'false'
'search[value]' => ''
'start' => 0
'table' => 'comments'
Answers
The protocol for server-side processing is discussed here.
Cheers,
Colin