how can I add custom data to do request when I set the bServerSide flag to true.
how can I add custom data to do request when I set the bServerSide flag to true.
louis_sherren
Posts: 2Questions: 0Answers: 0
When I click the head of each table , I realize that it send a ajax request to the server , adding some params like this :
[code]
mod:check
act:repo
sEcho:10
iColumns:8
sColumns:
iDisplayStart:0
iDisplayLength:10
mDataProp_0:name
mDataProp_1:code
mDataProp_2:color
mDataProp_3:size
mDataProp_4:left
mDataProp_5:times
mDataProp_6:total_count
mDataProp_7:id
iSortCol_0:3
sSortDir_0:desc
iSortingCols:1
bSortable_0:true
bSortable_1:true
bSortable_2:true
bSortable_3:true
bSortable_4:true
bSortable_5:true
bSortable_6:true
bSortable_7:true
_:1372931672079
[/code]
just want to know how to add extra data to the request?
[code]
mod:check
act:repo
sEcho:10
iColumns:8
sColumns:
iDisplayStart:0
iDisplayLength:10
mDataProp_0:name
mDataProp_1:code
mDataProp_2:color
mDataProp_3:size
mDataProp_4:left
mDataProp_5:times
mDataProp_6:total_count
mDataProp_7:id
iSortCol_0:3
sSortDir_0:desc
iSortingCols:1
bSortable_0:true
bSortable_1:true
bSortable_2:true
bSortable_3:true
bSortable_4:true
bSortable_5:true
bSortable_6:true
bSortable_7:true
_:1372931672079
[/code]
just want to know how to add extra data to the request?
This discussion has been closed.
Replies