aoColumnDefs error please HELP!
aoColumnDefs error please HELP!
Please help I've been trying to resolve this problem all day...
//code is good
[code]
"aoColumnDefs":
[{
"bSortable": false,
"aTargets": [ 0, 2 ]
}]
[/code]
That code is fine.. I have a five columns.. Here's the problem, when I want to make the column #3 to bSortable false it gives me an error
//It gives me an error.. 'Uncaught TypeError: Cannot read property 'className' of undefined'
[code]
"aoColumnDefs":
[{
"bSortable": false,
"aTargets": [ 0, 2,3 ]
}]
[/code]
So I tried using aoColumns
//Still giving me an error.. 'Uncaught TypeError: Cannot read property 'className' of undefined'
[code]
"aoColumns": [
{ "bSortable": false },
null,
null,
null,
null
]
[/code]
And here's the crazy part
//Still giving me a freaking error.. 'Uncaught TypeError: Cannot read property 'className' of undefined'
[code]
"aoColumns": [
null,
null,
null,
null,
null
]
[/code]
Please help me.. I beg all of you!. PLEASE!
//code is good
[code]
"aoColumnDefs":
[{
"bSortable": false,
"aTargets": [ 0, 2 ]
}]
[/code]
That code is fine.. I have a five columns.. Here's the problem, when I want to make the column #3 to bSortable false it gives me an error
//It gives me an error.. 'Uncaught TypeError: Cannot read property 'className' of undefined'
[code]
"aoColumnDefs":
[{
"bSortable": false,
"aTargets": [ 0, 2,3 ]
}]
[/code]
So I tried using aoColumns
//Still giving me an error.. 'Uncaught TypeError: Cannot read property 'className' of undefined'
[code]
"aoColumns": [
{ "bSortable": false },
null,
null,
null,
null
]
[/code]
And here's the crazy part
//Still giving me a freaking error.. 'Uncaught TypeError: Cannot read property 'className' of undefined'
[code]
"aoColumns": [
null,
null,
null,
null,
null
]
[/code]
Please help me.. I beg all of you!. PLEASE!
This discussion has been closed.
Replies