Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
975
Test Filter Override
posted

Hi,

I'm showing records in group (not XamDataGrid Grouping, records are just place one after the other with special presenter) and I wish to keep the hole group if one of the record pass the filter test.

For example,
Record 0 {Group="A", Name = "Post", Amount = 1.00}
Record 1 {Group="B", Name = "Foo", Amount = 12.00}
Record 2 {Group="B", Name = "Bar", Amount = 1.30}
Record 3 {Group="C", Name = "Alice", Amount = 1.70}
Record 4 {Group="C", Name = "Bob", Amount = 100.22}

If the user filter the field "Name" with Equal "Bar" than only record 1 and 2 will show up because record 2 pass the test and record 1 is of the same group of record 2.

If the user filter the field "Amount" with greater than 100 than only record 3 and 4 will show up, for similar reasons.

Any ideas, how to do that?

Thanks,

Dominik