I've got a hierarchical grid bound to a dataset with AutoGenerateHierarchy set to true.I'm setting the column widths in the OnColumnCreated event handler by setting HeaderStyle.Width. ( note that tablelayout is set to fixed). so that the columns in each level of the hierarchy align.
This works fine except when there are fewer columns than needed to fill the width. In this case IE8, all the columns on each level of the hierarchy stretch to the page width and align (which isn't really the expected behaviour as I'm setting a fixed width, but looks ok as they align), whereas in the case of IE7 the columns in the master table stretch to the page width but the columns in the detail tables are rendering as the fixed width I have assigned programatically so master and detail columns are not aligning.
I need either all the columns to stretch and align in IE7 or (preferably) all the columns to render as the asigned fixed width on both master and detail tables in both IE7 and IE8. Any Suggestions?
Thanks in advance :)
This works fine except when there are fewer columns than needed to fill the width. In this case IE8, all the columns on each level of the hierarchy stretch to the page width and align (which isn't really the expected behaviour as I'm setting a fixed width, but looks ok as they align), whereas in the case of IE7 the columns in the master table stretch to the page width but the columns in the detail tables are rendering as the fixed width I have assigned programatically so master and detail columns are not aligning.
I need either all the columns to stretch and align in IE7 or (preferably) all the columns to render as the asigned fixed width on both master and detail tables in both IE7 and IE8. Any Suggestions?
Thanks in advance :)