Detail Tables Filtering not working

4 posts, 1 answers
  1. John
    John avatar
    6 posts
    Member since:
    Dec 2014

    Posted 06 May 2015 Link to this post

    Hi,

    I have a grid with CheckList filtering implemetented on some of the columns in the MasterTableView, this works as expected. Implementing the same filtering in the DetailsTables does not work. Clicking the filtering does not fire the OnFilterChecklistItemsRequested event, so no filtering list is shown. The documentation I have found regarding DetailTables filtering does no say anything about specific settings for DetailTables filtering. Setting AllowFiltering on Grid or each table should be enough. Any ideas why this doesn't work?

    Regards

    John

     

     

     

    <telerik:RadGrid ID="grdDemo" runat="server" AutoGenerateColumns="false" PageSize="50"
                        GridLines="Both" OnNeedDataSource="grdDemo_NeedDataSource" Width="100%" all
                        OnDetailTableDataBind="grdDemo_DetailTableDataBind" OnRowDrop="grdDemo_RowDrop"    FilterType="CheckList"
                        AllowMultiRowSelection="true" OnItemDataBound="grdDemo_ItemDataBound"   OnFilterCheckListItemsRequested="grdDemo_FilterCheckListItemsRequested" >
                        <ClientSettings AllowRowsDragDrop="true">
                            <Selecting AllowRowSelect="True" />
                            <ClientEvents OnRowDropping="RowDropping" />
                        </ClientSettings>
                        <MasterTableView EnableHierarchyExpandAll="true" DataKeyNames="RCARealFaultId,GrcaRealFaultId" AllowFilteringByColumn="True" >
                            <DetailTables>
                               <telerik:GridTableView EnableHierarchyExpandAll="true" DataKeyNames="RCARealFaultId,RCASymptomId,GrcaRealFaultId" Name="Symptom" AllowFilteringByColumn="true">
                                    <ParentTableRelation>
                                        <telerik:GridRelationFields DetailKeyField="GrcaRealFaultId" MasterKeyField="GrcaRealFaultId" />
     
                                    </ParentTableRelation>
                                    <Columns>
                                        <telerik:GridBoundColumn DataField="InternalRCADeviceId" HeaderText="Internal Id"
                                            UniqueName="InternalRCADeviceId" AllowFiltering="False">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Project" HeaderText="Variant" AllowFiltering="False"
                                            UniqueName="Project">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="IMEI" HeaderText="IMEI" UniqueName="IMEI" AllowFiltering="False">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="InternalRCASymptomId" HeaderText="Internal Symptom Id" UniqueName="InternalRCASymptomId" AllowFiltering="False">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="Source" HeaderText="Source" UniqueName="Source" AllowFiltering="False">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn DataField="AnalysisResponsible"  HeaderText="Analysis Responsible" UniqueName="AnalysisResponsible" AllowFiltering="True" FilterControlAltText="Analysis Responsible"
                                              FilterCheckListEnableLoadOnDemand="True">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn UniqueName="ButtonTemplateColumn" AllowFiltering="False">
                                            <ItemTemplate>
                                                <asp:Button ID="bnShowNotes" runat="server" Text="Notes" />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn Visible="False" FilterControlAltText="Filter TemplateColumn column"
                                            UniqueName="TemplateColumnRcaSymptomId">
                                            <ItemTemplate>
                                                <asp:TextBox ID="tbRCASymptomId" runat="server" Text="<%# Bind('RcaSymptomId') %>"
                                                    Visible="false"></asp:TextBox>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn Visible="False" FilterControlAltText="Filter TemplateColumn column"
                                            UniqueName="TemplateColumnRcaDeviceId">
                                            <ItemTemplate>
                                                <asp:TextBox ID="tbRCADeviceId" runat="server" Text="<%# Bind('RcaDeviceId') %>"
                                                    Visible="false"></asp:TextBox>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn Visible="False" FilterControlAltText="Filter TemplateColumn column"
                                            UniqueName="TemplateColumnRCARealFaultId">
                                            <ItemTemplate>
                                                <asp:TextBox ID="tbRCARealFaultId" runat="server" Text="<%# Bind('GrcaRealFaultId') %>"
                                                    Visible="false"></asp:TextBox>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
     
                                    </Columns>
                                </telerik:GridTableView>
                            </DetailTables>
                            <Columns>
                                <telerik:GridBoundColumn DataField="RCARealFaultId" HeaderText="Issue Id" UniqueName="RCARealFaultId" AllowFiltering="False">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="RealFaultFoundDescription" HeaderText="RealFaultFound Description" AllowFiltering="False"
                                    UniqueName="RealFaultFoundDescription">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="DefectComponent" HeaderText="Defect Component" UniqueName="DefectComponent" AllowFiltering="true" FilterCheckListEnableLoadOnDemand="true" FilterControlAltText="Filter Defect Component column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="DefectCondition" HeaderText="Defect Condition"
                                    UniqueName="DefectCondition" FilterCheckListEnableLoadOnDemand="true" FilterControlAltText="Filter Defect Condition column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="ResponsibleArea" HeaderText="Responsible Area" UniqueName="ResponsibleArea" FilterCheckListEnableLoadOnDemand="true" FilterControlAltText="Filter Responsible Area column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="RealFaultStatus" HeaderText="RealFault Status" AllowFiltering="False"
                                    UniqueName="RealFaultStatus">
                                </telerik:GridBoundColumn>
     
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>

  2. Answer
    Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 11 May 2015 Link to this post

    Hello,

    Unfortunately CheckList Filtering is not implemented for detail tables of hierarchy grid. Please excuse us for the inconvenience caused.

    Regards,
    Pavlina
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. John
    John avatar
    6 posts
    Member since:
    Dec 2014

    Posted 11 May 2015 in reply to Pavlina Link to this post

    Hi Pavlina,

    Thanks for the clarification, even if it was not what I wanted to hear.
    Is there there somewhere I can log this as issue a suggested improvement for upcoming releases?

    Regards

    John
  4. John
    John avatar
    6 posts
    Member since:
    Dec 2014

    Posted 11 May 2015 in reply to John Link to this post

    Created a posting in                     
    Ideas & Feedback Portal

     

    //John

Back to Top