Parent-child tables are bound to a Grid resulting in parent-child bands.
Parent child tables have columns with same name/purpose. eg: release date, due date, etc. So the field layouts of two bands tries to take show related columns below each other. See two images http://www.imagebam.com/image/9bec3f26433363 Top one is how it shows and bottom one is how I would like it to show.
As you see in the image,
Top Band has fields Level, ID, Release Date, Due Date, etc (ID is unique to this band, other columns are in child band)
Bottom Band has Level, Operation, Release Date, Due Date, etc (Operation is unique to this band, other columns are in parent band)
As you can see ID and Operation in the two band do not align and that messes the rest of the alignment.
Questions:
- I am looking for any properties that Grid provides which will help me with alignment. Hopefully I am not stuck with hardcoding saying "width of field x in parent = width of field y in child", etc.
- Any property that helps with resizing in sync. If user resizes some parent field, having the child field resize
Thanks!
Hi DTD, We did not find a solution. I am interested in hearing your experience.
Did you find any resolution or workaround to this issue. I am really looking for a solution on this problem.
Thanks!!
I'm assuming that you have the child band's Indentation property set to 0 to cause it to line up on the left side. The only property that comes to mind is setting the AllowColSizing property to Synchronized; if this doesn't work, I think that the only way is to sync them manually, which is understandably tedious.
-Matt