In RadGrid, if EnableHeaderContextMenu is set to true and a GridColumn's Display attribute set to false, and HeaderStyle's Width attribute is set, the generated HTML colgroup style will not contain "display:none" style. For example,
<telerik:RadGrid>
<MasterTableView EnableHeaderContextMenu="true" TableLayout="Fixed">
<Columns>
<telerik:GridBoundColumn Display="false">
<HeaderStyle Width="100"/>
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
If you examine the generated html, you will see
<colgroup>
<col style="width:100px"/>
</colgroup>
Adding a column with HeaderStyle's Width attribute set will result in the same incorrect html.
However, if you hide one column through the header context menu, the generated html is correct:
<colgroup>
<col style="width:100px; display:none;"/>
</colgroup>
Is there workaround for this bug before it is fixed?
Thanks