Incorrect Column Count
Incorrect Column Count
I am building a table within Zend that requires a row detail expansion. The initial table contains 7 columns. I then add a column at position zero, bringing the total number of columns to 8. The new column contains a button image used to attach the click event to open and close the details panel. When clicked, the action works correctly, but the width of the details panel is one column short. Datatables has incorrectly counted the number of columns, missing the newly added column zero. Is there any way to tell Datatables the number of columns to span when building the details panel ? Why didn't Datatables pickup the newly added column in the first place ? Is there any facility in Datatables to directly effect the HTML being generated ?
This discussion has been closed.