parameters

parameters

haider512haider512 Posts: 2Questions: 2Answers: 0
edited August 2014 in Free community support

when i see the parameters posted by the datatables in datatables.net website, they are different as parameters posted by datatables i have setup in my codeigniter.

im using serverside so this example is i am reffering to.

http://datatables.net/examples/data_sources/server_side.html

if you have firebug you can see the parameters posted by this datatable are

columns[0][data]    0
columns[0][name]    
columns[0][orderable]   true
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
columns[3][data]    3
columns[3][name]    
columns[3][orderable]   true
columns[3][search][regex]   false
columns[3][search][value]   
columns[3][searchable]  true
columns[4][data]    4
columns[4][name]    
columns[4][orderable]   true
columns[4][search][regex]   false
columns[4][search][value]   
columns[4][searchable]  true
columns[5][data]    5
columns[5][name]    
columns[5][orderable]   true
columns[5][search][regex]   false
columns[5][search][value]   
columns[5][searchable]  true
draw    4
length  10
order[0][column]    0
order[0][dir]   asc
search[regex]   false
search[value]   air
start   0

but i used the exact same javascript posted in that link and my parameters are coming different

_   1408627201504
bRegex  false
bRegex_0    false
bRegex_1    false
bRegex_2    false
bRegex_3    false
bSearchable_0   true
bSearchable_1   true
bSearchable_2   true
bSearchable_3   true
bSortable_0 true
bSortable_1 true
bSortable_2 true
bSortable_3 true
iColumns    4 iDisplayLength  10 iDisplayStart   0
iSortCol_0  0
iSortingCols    1
mDataProp_0 0
mDataProp_1 1
mDataProp_2 2
mDataProp_3 3
sColumns    ,,,
sEcho   1 sSearch 
sSearch_0   
sSearch_1   
sSearch_2   
sSearch_3   
sSortDir_0  asc

why is my datatables showing different parameters??

it however works, but i am using ignited datatables library. and i have to do changes of this parameters. cuz in that library it looks for the coloumns[i][data] and my datatables parameters dont have that..

This discussion has been closed.