I think I found a bug in the RadGrid. I got the following:
As you can see, I want the first column to be 50px wide (but it should not be shown!), the second should be 120px wide and the third column should also be 120px wide. However, when I use these settings my page shows the grid, it does not show the first column and starts showing the second column first, but... The first column is only 50px wide, while it should be 120px!
http://bart.nimio.info/images/fora/grid.JPG
<telerik:RadGrid ID="AppointmentsGrid" runat="server" DataSourceID="AppointmentsObjectDataSource" |
AllowPaging="True" AutoGenerateColumns="False" Caption="Afspraken"> |
<MasterTableView DataKeyNames="AppointmentID" PageSize="30"> |
<Columns> |
<telerik:GridBoundColumn DataField="AppointmentID" DataType="System.Int32" HeaderText="Afspraak ID" |
SortExpression="AppointmentID" UniqueName="AppointmentID" Display="false"> |
<ItemStyle Width="50px" /> |
<HeaderStyle Width="50px" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="StartedOn" DataType="System.DateTime" HeaderText="Start Tijd" |
SortExpression="StartedOn" UniqueName="StartedOn"> |
<ItemStyle Width="120px" /> |
<HeaderStyle Width="120px" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="EndedOn" DataType="System.DateTime" HeaderText="Eind Tijd" |
SortExpression="EndedOn" UniqueName="EndedOn"> |
<ItemStyle Width="120px" /> |
<HeaderStyle Width="120px" /> |
</telerik:GridBoundColumn> etcetera... |
As you can see, I want the first column to be 50px wide (but it should not be shown!), the second should be 120px wide and the third column should also be 120px wide. However, when I use these settings my page shows the grid, it does not show the first column and starts showing the second column first, but... The first column is only 50px wide, while it should be 120px!
http://bart.nimio.info/images/fora/grid.JPG