RowGroup 1.1.1 not working when collapsing

RowGroup 1.1.1 not working when collapsing

MadBoyEvoMadBoyEvo Posts: 119Questions: 38Answers: 0

I've collapsable row grouping: https://codepen.io/MadBoyEvo/pen/LYYWeZy

This works until version of rowgroup is 1.0.4

<script src="https://cdn.datatables.net/rowgroup/1.0.4/js/dataTables.rowGroup.min.js"></script>

The moment it's changed to 1.1.1 it no longer is collapsable.

<script src="https://cdn.datatables.net/rowgroup/1.1.1/js/dataTables.rowGroup.min.js"></script>

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,163Questions: 26Answers: 4,921
    Answer ✓

    First I moved your example here (don't have a codepen acct to clone):
    http://live.datatables.net/qefohimi/1/edit

    Added some debug statements to find out what happens when changing to 1.1.1. Found that the event doesn't fire. Used the browser's inspect tool and it looks like the classes rowgroup uses changed from group-start to dtrg-start.

    Kevin

  • MadBoyEvoMadBoyEvo Posts: 119Questions: 38Answers: 0

    I see. Thank you.

This discussion has been closed.