how can i search item using filter on nested category?

Grids for WPF Forum

Posted 10 years ago by john erik
Version: 14.2.0610
Avatar

hi,

i have question.

our propertygrid like tree view(hierarchy), for example

- etc

      - a - 1 - z

           - 2 - zz

                 - zzz

     - b - 3 - x

                - xx

          - 4

 

i hope using filter, then using like your example(filters on quick start).

1. when i filtering 'a', a is read-only state.

2. when i filtering 'b', b is active state then i can nested category.

    '3' item read-only state.

    '4' item is ok.

3. when i filtering '1','2','3','4', i can't filtering data.

 

my xaml filter code is below.

///////////////////////////////////

<propgrid:PropertyGrid.DataFilter>
<propgrid:DataFilterGroup Operation="Or">
<propgrid:PropertyStringFilter Source="ValueName" Operation="Contains"
Value="{Binding Text, ElementName=filterTextBox}" StringComparison="CurrentCultureIgnoreCase" />
<propgrid:PropertyStringFilter Source="ValueType" Operation="Contains"
Value="{Binding Text, ElementName=filterTextBox}" StringComparison="CurrentCultureIgnoreCase" />
<propgrid:PropertyStringFilter Source="Category" Operation="Contains"
Value="{Binding Text, ElementName=filterTextBox}" StringComparison="CurrentCultureIgnoreCase" />
<propgrid:PropertyStringFilter Source="DisplayName" Operation="Contains"
Value="{Binding Text, ElementName=filterTextBox}" StringComparison="CurrentCultureIgnoreCase" />
<propgrid:PropertyStringFilter Source="Description" Operation="Contains"
Value="{Binding Text, ElementName=filterTextBox}" StringComparison="CurrentCultureIgnoreCase" />
</propgrid:DataFilterGroup>
</propgrid:PropertyGrid.DataFilter>

///////////////////////////////////////////////

 

so, how can i filter with nested category?

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

For questions like this that really require some debugging to see what's going on, can you please make a new simple sample project that shows the issue, along with repro instructions, and email it to our support address?  Please reference this thread and rename the .zip file extension so it doesn't get spam blocked.  Thanks!


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.