I have parent-child relationship A-B that Infragistics by default shows like this
+ A col1 col2 col3
B col1 col2 col 3
I want to make changes to this default display.
1. Get rid of the indentation i.e B is right below A. That way col1 would be below col1 from the other band and col2 under col2, etc
B col1 col2 col3
2. Replace "+" with something like a down chevron icon and "-" with a up chevron icon
3. Remove the dotted lines (of the tree structure) that links the two bands
vrn said:- If I would like to hide the vertical line running from the top band to lower band is there a way?
You can set grid.DisplayLayout.RowConnectorStyle to None.
vrn said:- When I expand the second band, the column header of the first band repeats after all the records from the second bands are displayed. Is there a way to make the first band's column header not showing a second and subsequent times?
Yes, check out the HeaderPlacement property.
Mike Saltzman"] No, there's no property. But you could modify the Expansion indicators using a DrawFilter or (I think) you can modify the appearance of them using AppStylist.
No, there's no property. But you could modify the Expansion indicators using a DrawFilter or (I think) you can modify the appearance of them using AppStylist.
Mike,
- If I would like to hide the vertical line running from the top band to lower band is there a way?
- When I expand the second band, the column header of the first band repeats after all the records from the second bands are displayed. Is there a way to make the first band's column header not showing a second and subsequent times?
Thanks!
You should post UltraWebGrid questions in the UltraWbeGrid forum.
I have a similar requirement (but using the UltraWebGrid) - I would like the columns of my child bands to line up with the parent band. However, I have 4 bands, and when I set the indentation to 0, only the first 2 bands are displayed. Any idea why this might be or what I need to do to get the desired effect?
I have also tried setting the indentation style to flat, but this seems to make the child bands appear a fraction to the left of the parent.