Possible bug changing column count on a table
Possible bug changing column count on a table
GregFrame
Posts: 1Questions: 0Answers: 0
I am probably doing something wrong, but I create a table via AJAX with 26 visible columns, 2 hidden. I want to reuse the table because of new user options and then reload the table with different data that only has 10 visible columns, 2 hidden. I get the warning stating "requested unknown parameter 12 from the data source for row 0".
The data appears correctly its just the headers are retained from the first call. I have bDestroy in the .dataTables parameter list. I have tried to call fnDestroy and fnClearTable both cause the next .dataTables call to fail. I also tried to $('#mytable').remove() and recreate using jquery and that also did not work.
Ideas? Known Issue?
Thanks in advance.
--Greg
The data appears correctly its just the headers are retained from the first call. I have bDestroy in the .dataTables parameter list. I have tried to call fnDestroy and fnClearTable both cause the next .dataTables call to fail. I also tried to $('#mytable').remove() and recreate using jquery and that also did not work.
Ideas? Known Issue?
Thanks in advance.
--Greg
This discussion has been closed.