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
1803
Group by Row and hide different columns in each row
posted

Hi all,

is it possible to use groupbyrow method and  for each group depending on the value of the row by which it is grouped . i want to hide certain columns

sample  is

GRP1

      C1    c2    c3     c4   c5  hide(c6)

grp2

      c1    c2      c3     c4    hide(c5)  c6

is this possible ..

i am trying to get this since  i dont have option to export two grids trying to combine . two data .. 

plz help me in solving .. .thanks in advance  

 

 

 

 

 

 

  • 469350
    Verified Answer
    Offline posted

     Hi,

        Not really. You could hide a Cell in the grid, but this will just leave an empty space, it won't shift the other cells over.

        You can probably acheive what you want in a slightly different way, though. What you can do is hide both columns, and then add an Unbound column to the grid. Then you could use the InitializeRow event to populate this unbound column with a value from one of the hidden columns - whichever one you want.

        You would modify the columns in the BeginExport event and use the layout passed into the event so you would not affect he on-screen grid, only the exported grid.