Incorrect Colspan with Row Detail Display
Incorrect Colspan with Row Detail Display

I 'm adding a column to a table then adding the detail for the selected row. When I click to display the row detail it incorrectly spans only the original columns, completely missing the newly added column. I have traced this back through the fnOpen function where DataTables calls the _fnVisbleColumns function to determine the number of visible columns. For some reason DataTables is not appending a new array cell to the front of aoColumns for the new column. Since this is where _fnVisbleColumns gets the column count to set the colspan, it comes up one short.
This discussion has been closed.