FNCGrid and TTMSFNCGridData.LookupInColumnFromRow does not work for sorted columns

LookupInColumnFromRow works ok when the col is not sorted. When the col is sorted, some rows are not found. I think this line
if (m > sr) and (Result <> -1) then
should be
if (m > sr) and (Result = -1) then

Can this be verified?

We’ll look into this asap

It was indeed a bug, we have applied a fix. Thanks for reporting!

1 Like