Problem with fnAddData and hidden column
Problem with fnAddData and hidden column
Yurii
Posts: 16Questions: 0Answers: 0
I have a table with 10 column, and 2 of it are hidden. When I try to add a new row with fnAddData() it adds the new row, starting from the first shown column. Here is the code I'm using
[code]
oTable.fnAddData( [
"1.1",
"1.2",
"1.3",
"1.4",
"1.5",
"1.6",
"1.7",
"1.8",
"1.9",
"1.10" ]
);
[/code]
1.1 and 1.2 show be hidden, but when the function is executed, 1.9 and 1.10 goes into NEW columns at end of the table... What can I do?
[code]
oTable.fnAddData( [
"1.1",
"1.2",
"1.3",
"1.4",
"1.5",
"1.6",
"1.7",
"1.8",
"1.9",
"1.10" ]
);
[/code]
1.1 and 1.2 show be hidden, but when the function is executed, 1.9 and 1.10 goes into NEW columns at end of the table... What can I do?
This discussion has been closed.
Replies
http://live.datatables.net/umuliv/4/edit
and the working example?
http://live.datatables.net/umuliv/4
http://live.datatables.net/ijotap/10/edit#javascript,html