Is there a way to dynamically show or hide the drop-down icon depending on whether there is child data present in Angular 4? I am using rowGroup: true to group parent and child elements together.
I need the drop-down icon to be hidden when there are no children under a parent node, but visible if there is child data available.
I have attempted using a boolean variable for visibility, but it does not seem to be working as expected.
rowGroup: true,