I have a Radgrid and have several columns set to Display=False and when a user sorts or expands on a column the hidden columns appear and I even set the itemstyle-width to 0.
Any help would be appreciated and I have attached an image.
<telerik:RadGrid ID="RadGrid1"
AllowMultiRowSelection="True"
AllowSorting="True"
AllowNaturalSort="True"
AllowPaging="True"
AlternatingItemStyle-HorizontalAlign="Center"
AutoGenerateColumns="false"
BackColor="#ffffff"
CellPadding="2"
CellSpacing="2"
GridLines="None"
GroupingEnabled="True"
HeaderStyle-Height="20"
Height="580px"
OnNeedDataSource="RadGrid1_NeedDataSource"
OnItemDataBound="RadGrid1_ItemDataBound"
OnSortCommand="RadGrid1_SortCommand"
OnExcelExportCellFormatting="RadGrid1_ExcelExportCellFormatting"
SelectedItemStyle-ForeColor="#000000"
PageSize="15"
ShowFooter="True"
ShowHeader="True"
ShowGroupPanel="True"
ShowStatusBar="True"
EnableEmbeddedSkins="False"
Skin="Nuts"
Width="100%"
Visible="true"
runat="server">
-- Now for the columns
<telerik:GridBoundColumn DataField="status_id" ItemStyle-Width="0" Display="False" />
<telerik:GridBoundColumn DataField="request_id" ItemStyle-Width="0" Display="False" />
<telerik:GridBoundColumn DataField="refresh_time" ItemStyle-Width="0" Display="False" />
<telerik:GridBoundColumn DataField="number_of_days" ItemStyle-Width="0" Display="False" />
<telerik:GridBoundColumn DataField="request_number" UniqueName="RequestNumber" ItemStyle-Width="0" Display="False" />
<ClientSettings
AllowDragToGroup
=
"True"
EnablePostBackOnRowClick
=
"False"
>
<
Resizing
AllowColumnResize
=
"True"
AllowRowResize
=
"False"
ResizeGridOnColumnResize
=
"False"
ClipCellContentOnResize
=
"True"
EnableRealTimeResize
=
"False"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
SaveScrollPosition
=
"True"
FrozenColumnsCount
=
"3"
/>
<
Selecting
AllowRowSelect
=
"True"
/>
</
ClientSettings
>
Any help would be appreciated and I have attached an image.