Hi, I have a parent band and two child bands using a row layout. I need column headers for parent band and first child band to be visible only at top and headers for 2nd child band disabled.
I am able to have parent's headers fixed on top, and 2nd child band's headers disabled. But first child band's column headers are getting repeated every set of parent child records. How do I do that? HeaderPlacement = FixedOnTop is not working
I am able to hide subsequent headers by skipping drawing in IUIElementDrawFilter.DrawElement() but it leaves empty space and headers do exist but are just not visible. I want them completely gone from following rows without leaving any gaps there.
Pl. see attached screenshot for visual details.
Thanks,
m
Hi,
You won't be able to do this with a DrawFilter or CreationFilter. Those will allow you to prevent the drawing or creation of an object, but there's no way to move all the other objects in the grid to get rid of the space. At least, not without moving every single element in the entire grid.
I tested this out using Horizontal ViewStyle (which it appears you are using) and HeaderPlacement set to FixedOnTop and it works fine for me.
What version of the controls are you using? I'm using v9.1 with the latest service release.
Mike, I was on v9.1 and recently upgraded to v9.2. But this problem exists on both versions.
Yes, I do have ViewStyleBand set to Horizontal. Did you have two child bands with headers for 2nd one disabled when you tried out?