Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hello,

                                    i have a problem with the integrated filter in the column header of a TreeListControl.
                                    When i try to filter hierarchic data, the filter only seems to work on the root layer.

                                    Please take a look at the short sample files, which illustrate the problem.
                                    When you filter the Value-column for one of the 3 available Values, nothing will be displayed.

                                    But i would like to see the inner Rows that contain the filtered Value and also their parents so that the hierarchy is kept.

                                    At the moment i had to work arround that problem by filtering the underlying data in the code.
                                    Is there any way to achieve that directly in the TreeListControl?

                                    Thanks!

                                TreeListFilterSample.zip
                                0

                                Hi Lutz,

                                This behavior is by design. If the ParentNode does not meet the criteria, it is filtered out with its child.
                                To accomplish your task, you can use the TreeListView.CustomNodeFilter event (review the TreeList how to filter only the child nodes ) and in this event handler, you can check to see whether or not one of child nodes meets the criteria and decide whether or not you need to hide the parent node.
                                Please feel free to contact us if you need any additional assistance. We will be happy to help you.

                                Thanks,
                                Andrew

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners