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
90
XamGrid with mergecell enabled, showing cell content by default
posted

I have a xamGrid with Group by feature enabled, the groupby mode is set to GroupByOperation.MergeCells.

Defaultly in that mode, groupped cells with repeated content have the content  hidden (as you see happens with the first cell of second row of the screenshot).

My question is, is there a way to have content of these hidden cells visible by default?

  • 34510
    Verified Answer
    Offline posted

    Hi Piotr,

    While it defeats the purpose of using MergeCells in the first place, you could create an implicit style that targets MergedContentControl and set it's visibility to collapsed. 

    xmlns:igPrim="http://schemas.infragistics.com/xaml/primitives"
    
    <Style TargetType="igPrim:MergedContentControl">
        <Setter Property="Visibility" Value="Collapsed"/>
    </Style>