This is a migrated thread and some comments may be shown as answers.

FireFox and HeaderStyle issue

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bkelts
Top achievements
Rank 1
bkelts asked on 27 Jun 2009, 12:06 AM
Currently, FireFox doesn't support using "em" units in the "width" attribute of COL elements. This presents a problem because the HeaderStyle.Width property renders in FireFox like so:
<colgroup> 
  <col width="25em"/>  
  <col width="5em"/>  
  <col width="5em"/>  
</colgroup> 

However, em units ARE supported in FireFox if the widths are set using the "style" attribute:
<colgroup> 
  <col style="width:25em"/>  
  <col style="width:5em"/>  
  <col style="width:5em"/>  
</colgroup> 
 
Interestingly, width attributes are rendered in IE without the "em":
<colgroup>    
  <col width="25"/>     
  <col width="5"/>     
  <col width="5"/>     
</colgroup>    
 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 Jul 2009, 12:16 PM
Hi Brett,

Thank you for your feedback. We will investigate further on this matter and consider improving the RadGrid behavior and column width support in the future.

In the meantime, you can use column widths in percent or pixels.

Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
bkelts
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or