I am working on a bill of material that can be displyayed as autoexpanded or expanded as necessary. The problem I have is that the expansion icon is available for all items, not just the one with children underneath. I need a way to hide the details grids that do not have children underneath (instead of shown "no records to display") when using autoexpand and hide the expansion icon for the rows with no children when the grid is collapsed.
Currently looks like this:
Expanded
- Row1
+ Row A
- Row2
+ No Records to display
- Row3
+ Row B
Collapsed
+ Row1
+ Row2
+ Row3
Should look like this:
Expanded
- Row1
Row A
Row2
- Row3
Row B
Collapsed
+ Row1
Row2
+ Row3
Currently looks like this:
Expanded
- Row1
+ Row A
- Row2
+ No Records to display
- Row3
+ Row B
Collapsed
+ Row1
+ Row2
+ Row3
Should look like this:
Expanded
- Row1
Row A
Row2
- Row3
Row B
Collapsed
+ Row1
Row2
+ Row3