Numerous rows but all of either template or bound ( example cut of code below), the item style width is defined for all fields.
The fields 'text' value is occsionally longer than the field, this automatically increaces the row height as it wraps to a second line within the field. If i could stop this i think i would be okay. I have tried settign wrap to false but no difference.
There is also an event which fires on the mouseover-row which renames the label in the header to an appropriate value for that row.
The gird always seems to fit to the screen, i think this is occuring and adjusting the columns widths?
Help appreciated.
Thanks
Stephen
<asp:BoundField DataField="TOTAL"
HeaderText="TOTAL"
SortExpression="TOTAL" >
<ItemStyle Wrap="True" Width="50px" HorizontalAlign="Right"/>
<HeaderStyle Wrap="True" />
</asp:BoundField>
<asp:TemplateField HeaderText="S1">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("S1") %>'></asp:TextBox>
</EditItemTemplate>
<HeaderTemplate><label for="S1" id="label5">SIZE 1</label></HeaderTemplate>
<ItemStyle HorizontalAlign="Right" Width="50px" />
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("S1") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle Wrap="True" />
</asp:TemplateField>