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

How to use GridTemplateColumn in Radgrid for google-like filtering

3 Answers 119 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pravat
Top achievements
Rank 1
Pravat asked on 20 May 2009, 12:21 PM

Hi
  I want to use GridTempalteColumn Rad Gird for google-like filtering. Is it possible?
I have tried in bound column for the same requirement, it is working fine.
but my requirement is to show product details in tooltip on mousemove of grid row(s).
please help me by providing with some sample code.

Thanks & Regards,
Pravat Sharma

3 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 25 May 2009, 11:22 AM
Hello Pravat,

Please, take a look at the attached sample.

Best Regards,
Tsvetoslav
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.
0
Hiren
Top achievements
Rank 1
answered on 23 Aug 2011, 11:21 AM
i was trying to include google like filtering, it works fine when the boundcolumn are not included at design time, when i tried to run the same sample after including the boundcolumns at design time its not working properly, i want to bind only specific columns which i had created in gridboundcolumn..
<telerik:RadGrid ID="rgdUser" runat="server" GridLines="Vertical" AllowSorting="True"
                        AllowPaging="True" AutoGenerateColumns="False" EnableEmbeddedSkins="false" Skin="RC"
                        AllowFilteringByColumn="True" PageSize="5" CellSpacing="0" OnItemDataBound="rgdUser_ItemDataBound"
                        Width="1020px" OnColumnCreating="rgdUser_ColumnCreating" OnItemCommand="rgdUser_ItemCommand"
                        OnNeedDataSource="rgdUser_NeedDataSource">
                        <GroupingSettings CaseSensitive="false" />
                        <SortingSettings EnableSkinSortStyles="false" />
                        <ClientSettings>
                            <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="180px" />
                        </ClientSettings>
                        <MasterTableView AllowNaturalSort="false" Width="100%" AllowFilteringByColumn="True">
                            <Columns>
                                 <telerik:GridBoundColumn HeaderText="Last Name" DataField="LastName" UniqueName="LastName"
                                    SortExpression="LastName" Visible="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="First Name" DataField="FirstName" UniqueName="FirstName"
                                    SortExpression="FirstName" Visible="false">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn HeaderText="Middle Name" DataField="MiddleName"
                                    UniqueName="MiddleName" SortExpression="MiddleName" Visible="false" />
                                <telerik:GridBoundColumn HeaderText="Email" DataField="EmailId" UniqueName="EmailId"
                                    SortExpression="EmailId" Visible="false" />
 <telerik:GridButtonColumn HeaderText="Edit" UniqueName="ibtnEdit" ImageUrl="~/App_Themes/Default/images/select_icon2.png"
                                    ButtonType="ImageButton" Visible="false" CommandName="EditUser" />
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>

it removes existing columns and binds new columns, i want to apply filtering for exisiting columns
0
Hiren
Top achievements
Rank 1
answered on 25 Aug 2011, 10:15 AM
i found the following post which matches my requirement
click here
i want to use dropdown selectedchange event and itemrequesting event for all the filter. it should filter according to the filter column selected.
Tags
Grid
Asked by
Pravat
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Hiren
Top achievements
Rank 1
Share this question
or