I need to make that in the table it was possible to click on the row and there were several hidden rows of the same table. Since I use bootstrap for development, I would like to do this using botstrap collapse plugin, and not compose my own plugin. I found a working example in which exactly what I need. Example link: http://www.bootply.com/GGAMvot45f
The problem is that this example works correctly only for lower versions of bootstrap (3.1-3.2). When using older versions (at the moment I have the 4th version connected), it does not work correctly - instead of several lines, only one appears. I saw many solutions where it is proposed to wrap the drop-down content into a div and a new table, but then it turns out that my table is in a cell, the alignment of the parent and child columns is completely different. And I want exactly as in the example by reference, i.e. column under column.
Here is an example where with the same code but with a different version of bootstrap does not work anymore, it works more precisely partially, one substring of the table is output instead of two.