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

how to set column width for the specific columns when using FrezonColumn

0 Answers 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Albert
Top achievements
Rank 1
Albert asked on 07 Jan 2013, 03:04 AM
Hi telerik,
I have a grid with frozon columns in my project, I intend to set width for some columns, I refer to the demo below in help article
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/frozencolumns/defaultcs.aspx 
I noticed that it use the following to set width for ALL Columns 
<HeaderStyle Width="200px"></HeaderStyle> 
but I only intend to set some specific columns, taking the demo above for example, I only want to set the column 'Address' width to 500px,
when remove <HeaderStyle width="200px"></HeaderStyle> and set column 'Address' width to 500px, it does not work and the horizontal scroll bar 
I also noticed there is another help article 
http://www.telerik.com/help/aspnet-ajax/grid-scroll-with-static-headers.html
there is a note said 'When scrolling is enabled and UseStaticHeaders is True, the grid columns should declare HeaderStyle.Width.'
does that mean 'HeaderStyle.Width' will apply to all columns?
could you please how to set width for specific columns when using frozon column?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Albert
Top achievements
Rank 1
Share this question
or