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
yup sounds good .. ... i ll try and implenment .. .tnahks a lot . .
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.