Uncaught Type Error : cannot read property style of undefined
Uncaught Type Error : cannot read property style of undefined
SUR344597
Posts: 1Questions: 0Answers: 0
This is the HTML file
[code]
<!DOCTYPE HTML>
Engine
Browser
Platform
Version
Grade
Loading data from JSON
[/code]
This is the JS code
[code]
$(document).on("pageinit",'#S2',function(e){
$('#table_id').dataTable( {
"aaData": [
[
"Trident",
"Internet Explorer 4.0",
"Win 95+",
4,
"X"
],
[
"Trident",
"Internet Explorer 5.0",
"Win 95+",
5,
"C"
]
],
"aoColumns": [
{
"sTitle": "Engine"
},
{
"sTitle": "Browser"
},
{
"sTitle": "Platform"
},
{
"sTitle": "Version"
},
{
"sTitle": "Grade"
}
]
} );
});
[/code]
I am new to DataTables. I am stuck at this point pls help me with this
Regards
RamS
[code]
<!DOCTYPE HTML>
Engine
Browser
Platform
Version
Grade
Loading data from JSON
[/code]
This is the JS code
[code]
$(document).on("pageinit",'#S2',function(e){
$('#table_id').dataTable( {
"aaData": [
[
"Trident",
"Internet Explorer 4.0",
"Win 95+",
4,
"X"
],
[
"Trident",
"Internet Explorer 5.0",
"Win 95+",
5,
"C"
]
],
"aoColumns": [
{
"sTitle": "Engine"
},
{
"sTitle": "Browser"
},
{
"sTitle": "Platform"
},
{
"sTitle": "Version"
},
{
"sTitle": "Grade"
}
]
} );
});
[/code]
I am new to DataTables. I am stuck at this point pls help me with this
Regards
RamS
This discussion has been closed.
Replies