I could see in principal that could work. The id changes for each row, so would have to account for that somehow. I tried just hardcoding the first row, which I assume to be an index of 0, but it doesn’t work.
<i class="fas" dmx-class:fa-plus="!tr_collapse_order_details0.collapsed" dmx-class:fa-minus="tr_collapse_order_details0.collapsed"></i>
The tr is:
<tr class="collapse" dmx-bind:id="'tr_collapse_order_details'+$index">
I’m missing the “is” in the tr, but when I add it, it breaks it completely - doesn’t expand at all. Without it, it will expand and collapse, but only shows the plus icon.