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
195
Display a group by row that has no children
posted

Hi,

I have a grid that I would like to display a group by row that has no child rows.  Is this possible?  I have a OutlookGroupBy (header hidden) column that is the "Status" of the client.  If there are no rows that are say "Active", I would like to display "Active: 0" in a group by row.  I am using UseRowLayout=true if that matters.

Thanks!

David A.

 

 

  • 469350
    Verified Answer
    Offline posted

    Hi David,

    The grid will never show a GroupByRow that has no child rows.

    The only potential solution I can think of would be to use add a "fake" row of data to your grid so that there is actually a row in that group. Then you would have to modify the GroupByRow's description so that it says "0" even when there is actually 1 row. And then do something to the row so the user knows it's not a real row - like maybe make it semi-transparent or use a DrawFilter to prevent it from drawing at all.