How can I have a RadGrid with the following settings:
- Width = "100%"
- Autofit column width to content(Neither the column HeaderText nor the cell content should be truncated)
- Static Headers
- Horizontal Scroll bars
- Vertical Scroll bars
The number of columns in the grid are dynamic. I am able to get this effect only by specifying fixed width to the RadGrid and HeaderStyle.Width in pixels. But in this case the width of the column doesn't auto fit to the contents.
<
telerik:RadGrid
ID
=
"rdgSample"
runat
=
"server"
Width
=
"1200px"
>
<
MasterTableView
TableLayout
=
"Fixed"
>
</
MasterTableView
>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"true"
FrozenColumnsCount
=
"2"
/>
</
ClientSettings
>
<
HeaderStyle
Width
=
"250px"
/>
</
telerik:RadGrid
>