Hi team,
My radgrid has its auto genereate column set to true. And I have a serial number column in it.
I want to hide filter for serial number column only and want rest of columns to retain filters. Please help in acheiving this features.
I am attaching gridview for your reference.
Thanks,
Abhishek
My radgrid has its auto genereate column set to true. And I have a serial number column in it.
I want to hide filter for serial number column only and want rest of columns to retain filters. Please help in acheiving this features.
I am attaching gridview for your reference.
<telerik:RadGrid ID="gvPreview" AutoGenerateColumns="true" AllowPaging="True" PageSize="10" runat="server" GridLines="vertical" Width="99%" AllowSorting="true" OnPreRender="gvPreview_PreRender" Font-Bold="true" EnableViewState="true" EnableTheming="false" Height="380px" AllowFilteringByColumn="true" OnPageIndexChanged="gvPreview_PageIndexChanged" OnNeedDataSource="gvPreview_NeedDataSource" OnPageSizeChanged="gvPreview_PageSizeChanged"> <ExportSettings HideStructureColumns="true" IgnorePaging="true" OpenInNewWindow="true" ExportOnlyData="true"> </ExportSettings> <GroupingSettings CaseSensitive="false" /> <ItemStyle CssClass="grid-content-Maintext" HorizontalAlign="Left" ForeColor="Black" VerticalAlign="Middle" BackColor="#f4fdff"></ItemStyle> <AlternatingItemStyle CssClass="grid-content-Alttext" HorizontalAlign="Left" ForeColor="Black" VerticalAlign="Top" BackColor="White" /> <HeaderStyle CssClass="background_dbf7ff lineHeight_25px" Font-Bold="True" HorizontalAlign="Left" Wrap="true" ForeColor="Black" VerticalAlign="Middle" BackColor="#f4fdff" Font-Names="Arial" Font-Size="11px" /> <PagerStyle CssClass="background_dbf7ff lineHeight_25px" /> <SelectedItemStyle CssClass="background_dbf7ff lineHeight_25px" /> <GroupHeaderItemStyle CssClass="background_dbf7ff lineHeight_25px" /> <ActiveItemStyle CssClass="background_dbf7ff lineHeight_25px" /> <CommandItemStyle CssClass="background_dbf7ff lineHeight_25px" /> <SortingSettings EnableSkinSortStyles="False" /> <FilterItemStyle BackColor="#DBF7FF" BorderStyle="Solid" /> <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" /> <MasterTableView Width="100%" CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign="Right"> <PagerStyle Mode="NextPrevAndNumeric" /> <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false" /> </MasterTableView> <ClientSettings AllowDragToGroup="true" AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder"> <Animation AllowColumnReorderAnimation="true" AllowColumnRevertAnimation="true" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"> </Scrolling> </ClientSettings> <PagerStyle AlwaysVisible="true"></PagerStyle> </telerik:RadGrid>Thanks,
Abhishek