'Making plus signs always visible in data tables responsive extension for custom columns

The DataTables responsive extension is really great but the plus buttons that expand the row to show hidden columns will not display if all the default / normal columns are already being displayed.

I have overwritten the renderer like the links below so that a custom div is displayed as well but this does not get a plus sign when hidden. In the jsfiddle you can see if you expand the selection all the way, the plus goes away and there's no way to see the custom div.

https://datatables.net/reference/option/responsive.details.renderer

code to satisfy stack overflow submission req. Jsfiddle is a behavior demo

https://jsfiddle.net/3fLwej4u/

I have found someone with a similar problem and they seem to have decided it isn't possible to work around but I have to believe there's something. If you add the collapsed class to the table, the plus appears. (doesn't work in jsfiddle, only on my site) The following link explains why the collapsed is related and why some don't think its possible. Their solution is no good as I need the responsive aspect too.

https://datatables.net/forums/discussion/46008/how-to-show-enable-the-show-hide-plus-at-all-times

Thank you for the help!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source