I have grid where i want to set the column width for each column. I used the headerstyle-width and itemstyle-width for a column. Column width is set correct when the record is not in insert or edit mode. But in insert or edit mode, the column width is changing. I have tried a lot of things, like not have a grid width, set the TableLayout to fixed, different combination of ItemStyle-width and HeaderStyle-width etc. unsuccessfully. So how can i set the column width for insert/edit mode?
the code i am using:
<MasterTableView AutoGenerateColumns="False" DataKeyNames="EmployeeCompanyNumber" DataSourceID="LinqDataSource1" CommandItemDisplay="Top">
<CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
<RowIndicatorColumn><HeaderStyle Width="20px"></HeaderStyle></RowIndicatorColumn>
<ExpandCollapseColumn><HeaderStyle Width="20px"></HeaderStyle></ExpandCollapseColumn>
<Columns>
<telerik:GridNumericColumn ItemStyle-Width="70px" HeaderStyle-Width="80px" FilterControlWidth="90%" DataField="EmployeeCompanyNumber" DataType="System.Int32" HeaderText="Foretaksnr." SortExpression="EmployeeCompanyNumber" UniqueName="EmployeeCompanyNumber">
</telerik:GridNumericColumn>
<telerik:GridBoundColumn ItemStyle-Width="190px" HeaderStyle-Width="200px" FilterControlWidth="90%" DataField="Name" HeaderText="Navn" SortExpression="Name" UniqueName="Name" >
</telerik:GridBoundColumn>
<telerik:GridEditCommandColumn HeaderStyle-Width="140px" >
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn HeaderStyle-Width="40px" CommandName="Delete">
</telerik:GridButtonColumn>
</Columns>
<EditFormSettings><EditColumn UniqueName="EditCommandColumn1"></EditColumn></EditFormSettings>
</MasterTableView>
</telerik:RadGrid>