Responsive child row formatting

Responsive child row formatting

chris.durhamchris.durham Posts: 12Questions: 4Answers: 0

HI,
I know (and am using) the renderer function to control how my child row looks when used in a responsive table, but is there any way to control how datatables wraps that in the outer <tr><td colspan=?> ? Since I'm using the "column" method for rending the child row toggle I'd really like it to put the rendered child row in the second td and not the first - so it lines up with the data.

That is I want <tr><td/><td colspan=?-1>

I can't just "pad" the inner table since I have no idea how wide the outer columns first <td> is as it keeps changing (despite defining a 'width' for it...

Thanks
Chris

This discussion has been closed.