I am working on exporting a grid in a hierarchical mode to excel. I have 3 levels.
My issue is when I export I can't seem to get the columns to align to the left. When I export the columns appear to be centered. To fix this I thought adding HorizonalAlign="Left" to the table declarations would fix this. It did work to a degree. The 2 level still center aligns the items and when the web page is displayed (using Office 2007 skin) it breaks the CSS styling on the Headers of the DetailTables.
As I was typing my post I had an idea to try putting the <ItemStyle HorizontalAlign="Left" /> directly into the GridBoundColumn. This worked to left align my items.
Is there a difference between putting this <ItemStyle HorizontalAlign="Left" /> as a global declaration or as a per column declaration? I thought they would be the same. I suspect there may be a bug if not.
I am using release Q3 2007.
My issue is when I export I can't seem to get the columns to align to the left. When I export the columns appear to be centered. To fix this I thought adding HorizonalAlign="Left" to the table declarations would fix this. It did work to a degree. The 2 level still center aligns the items and when the web page is displayed (using Office 2007 skin) it breaks the CSS styling on the Headers of the DetailTables.
As I was typing my post I had an idea to try putting the <ItemStyle HorizontalAlign="Left" /> directly into the GridBoundColumn. This worked to left align my items.
Is there a difference between putting this <ItemStyle HorizontalAlign="Left" /> as a global declaration or as a per column declaration? I thought they would be the same. I suspect there may be a bug if not.
I am using release Q3 2007.