StringGrid Search!

Hi

Given the following data:

67991111
12345678
56782222
22225678
77771234

Assuming a populated stringgrid with tedit with Narrowdown;
(Maybe there is a better way!)

How is it possible only to show the 2nd Line eg STARTING with 1234 and HIDE ALL the others.
eg if i type 1234 it should only show me the line "12345678"

Thanks

Kamran

The NarrowDown function was always searching for the occurrence of the character anywhere in the cell text.
We've added a public property grid.NarrowDownFromStart: boolean and when this is set to true, it will only filter cells that start with the specified narrow down string.
This new capability will be included from v8.0.5.0

Thanks Bruno

That would be great !

Kamran