I am not fully aware of the exact goal you try to achieve, but in dynamic version you set data target - href="#collapseInnerTwo"
and in id
of collapsable you try to evaluate some expression - [id]="'collapseInnerTwo' + group?.CAMD_PRGRP_DESC"
These will never match and never collapse. If you change
[id]="'collapseInnerTwo' + group?.CAMD_PRGRP_DESC"
To
id="collapseInnerTwo"
It works as supposed
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…