Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35272

SS Column Sort Requests in 1.10

$
0
0

We are experiencing oddball output from the new dataTables:

order[0][column] = 6
order[0][dir] = desc
........
columns[17][search][regex] = false
columns[48][search][value] = 
columns[4][search][value] = 
columns[22][name] = 
columns[47][name] = 
columns[39][search][value] = 
columns[28][search][regex] = false
columns[31][orderable] = true
columns[33][name] = 
columns[6][name] = 
columns[44][name] = 
columns[7][search][value] = 
columns[44][searchable] = true
columns[25][search][value] = 
columns[0][data] = partNumber
columns[7][search][regex] = false
columns[34][orderable] = true
columns[46][name] = 
columns[43][searchable] = true
columns[15][searchable] = true

If you'll notice, no matter what column is clicked to be sorted, the result will always only reference "order[0]":

order[0][column] = 6
order[0][dir] = desc

shouldn't this actually send the dom number of the column in the integer array? In our servlet we made a hashmap of the column dom to point to the appropriate db field name

What do we do here, this can't be correct, is it?

Thank you,

j


Viewing all articles
Browse latest Browse all 35272

Trending Articles