Error in FMXGrid: Filtering with cells that end with a space does not work

In function TTMSFMXGridData.MatchFilter(ARow: Integer): Boolean;
you trim the cell-value but do not trim the filter-Condition. So cells ending with an space deliver false if getting filtered with an filter that should match.


You can wrap the condition with double quotes so it includes the spaces in the condition.

Hi Pieter,

the condition gets autocreated when options.Filtering.DropDown := true

We'll investigate what is happening.
You can change the condition using the OnFilterSelect event.