ocol is undefined for big table
ocol is undefined for big table
Hello,
I use packages DataTable who gives a display very well.
My problem is that the table with 12 columns is correct. When I declare 13 colums or more, the error "ocol is undefined" in the file jquery.dataTables.js (function i_fnSetCellData)
The generated code is correct (tags tables, thead, tr, tbody, td, ..). But i don't have the search and the choice of number of item displayed
In the debugger dataTables only the first line is recognized
The table is dynamically built by reading csv file. The maximun number of line displayed is 1000.
What gives a very important tables (1000 lines and 37 colums)
$(document).ready(function() {
$('#example').dataTable( {
"sScrollY": 487,
"sScrollX": "100%",
"sScrollXInner": "400%" /* 650 */
} );
} );
No
Date
Date Valide
Heure
Type d'Elément
Nom
Colonne 2
Colonne 3
Colonne 4
Poste
Valeur Mesure
Utilisateur
Zone Exploitation
1
1999/11/30
Non
00:00:00
A
115
Pile EED vide
EED
0,00
Zone 1
1
1999/11/30
Non
00:00:00
A
117
Pile EED vide
EED
0,00
Zone 1
.....
Debug Display :
Property Status
Data source DOM
Processing Client-side
Draws 0
Columns 13
Rows 1
Display start row 0
Display length 50
Rows
1 rows in table
Row 0 data
["1", "1999/11/30", "Non", "00:00:00", "P", "115", "", "", "Pile EED vide", "EED", "0,00", "", "Zone 1"]
Only one row ? --> the lenght is 52 ?
There is a limitation in the declaration ?
Thank you
Titine
I use packages DataTable who gives a display very well.
My problem is that the table with 12 columns is correct. When I declare 13 colums or more, the error "ocol is undefined" in the file jquery.dataTables.js (function i_fnSetCellData)
The generated code is correct (tags tables, thead, tr, tbody, td, ..). But i don't have the search and the choice of number of item displayed
In the debugger dataTables only the first line is recognized
The table is dynamically built by reading csv file. The maximun number of line displayed is 1000.
What gives a very important tables (1000 lines and 37 colums)
$(document).ready(function() {
$('#example').dataTable( {
"sScrollY": 487,
"sScrollX": "100%",
"sScrollXInner": "400%" /* 650 */
} );
} );
No
Date
Date Valide
Heure
Type d'Elément
Nom
Colonne 2
Colonne 3
Colonne 4
Poste
Valeur Mesure
Utilisateur
Zone Exploitation
1
1999/11/30
Non
00:00:00
A
115
Pile EED vide
EED
0,00
Zone 1
1
1999/11/30
Non
00:00:00
A
117
Pile EED vide
EED
0,00
Zone 1
.....
Debug Display :
Property Status
Data source DOM
Processing Client-side
Draws 0
Columns 13
Rows 1
Display start row 0
Display length 50
Rows
1 rows in table
Row 0 data
["1", "1999/11/30", "Non", "00:00:00", "P", "115", "", "", "Pile EED vide", "EED", "0,00", "", "Zone 1"]
Only one row ? --> the lenght is 52 ?
There is a limitation in the declaration ?
Thank you
Titine
This discussion has been closed.
Replies
Allan