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
265
Conditionally Hiding Columns
posted

Hello,

I have been trying to conditionally hide a column in a ultrawingrid when the row doesn't have data for that column. As you can see below, the columns with all the a's should be hidden when there is no data. Is it possible to hide the column per row or is it all or nothing? The column does hide if the entire grid doesn't have data for that column but as soon as one row has data, it puts the cell back in the rows that doesn't have data. I check for the values in the InitializeRow procedure. Any help would be appreciated.

   

What I have:

         Col1 Col2 Col3
Row1 zzzz zzzz zzzz
                aaaaaaaa
Row2 zzzz zzzz zzzz

Row3 zzzz zzzz zzzz
               
Row4 zzzz zzzz zzzz                
                aaaaaaaa 

 

         Col1 Col2 Col3

Row1 zzzz zzzz zzzz
                aaaaaaaa
Row2 zzzz zzzz zzzz
Row3 zzzz zzzz zzzz                
Row4 zzzz zzzz zzzz                                
                aaaaaaaa

 

Parents Reply Children
No Data