Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
Collapse and Expand DataRecordCellArea
posted

I need to collapse rows based on a filter selection in a dropdown.  The code below results in the rows being empty however the expansion control (+ sign) still appears.  What property must be set to remove the expansion designator?

<Style TargetType="{x:Type igDP:DataRecordCellArea}">
     <Style.Triggers>
           <DataTrigger Binding="{Binding ElementName=filterSelection, Path=SelectedItem.Name}" Value="Complete">
                <Setter Property="Visibility" Value="Hidden"/>
                <Setter Property="Height" Value="0"/>
            </DataTrigger>
      </Style.Triggers>
  </Style>

Parents
No Data
Reply
  • 90
    posted

    I resolved this by setting the visibility for the records in the grid - the largest issue involved navigating the group by records and turning on or off their visibility.

Children
No Data