Skip to main content
13-Aquamarine
October 13, 2025
Solved

Filtering a grid always displays the selected row even if it isn't the filter's target.

  • October 13, 2025
  • 2 replies
  • 433 views

I created grid A in which selecting a row loads grid B. I enable the filter on both grids. When I search for a string that doesn't select any rows in both grids, I see the selected row in grid A, but nothing in grid B. Which grid property should I select to prevent the same row from being displayed as the filter solution in the grid where a row is selected? The selected row is not among the rows extracted by the filter.

BR

Dimitri

Best answer by TonyZhang

Hi @dbologna,

 

I guess the property you are looking for is ClearFilteredSelection (Controls whether row selection is retained when filtering or sorting the grid data). Setting this to true, the selected row will not be part of the filtered result if no keyword in the selected row matches the filter text.

 

Best,

2 replies

TonyZhang16-PearlAnswer
16-Pearl
October 16, 2025

Hi @dbologna,

 

I guess the property you are looking for is ClearFilteredSelection (Controls whether row selection is retained when filtering or sorting the grid data). Setting this to true, the selected row will not be part of the filtered result if no keyword in the selected row matches the filter text.

 

Best,

16-Pearl
October 29, 2025

Hi @dbologna,

 

Could you please confirm if my previous response answers your question? If it does, for the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

 

Thanks for using the PTC Community!

 

Regards,