This is a migrated thread and some comments may be shown as answers.

Hide Expansion Icon when no children are present

1 Answer 23 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 07 May 2009, 02:39 PM
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


1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 08 May 2009, 02:58 AM
Hi Philip,

Check out the following help article which explains how to achieve the desired scenario.
Hiding expand/collapse images when no records

Shinu.
Tags
Grid
Asked by
Philip
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or