Page 1 of 1

Is is possible to filter a datagrid content ?

Posted: Sun Aug 09, 2009 11:28 am
by titobal
I have a datagrid which is initialy loaded by a tab delimited text file.

I would like to know if for a specified colum it is possible to filter
the rows displayed accordingly to a searched text input ?

Thanks.

Any tip ?

Posted: Thu Aug 20, 2009 9:06 am
by titobal
Any tip ?

Posted: Thu Aug 20, 2009 10:51 am
by Klaus
Hi titobal,

...
put the dgText of grp "DataGrid" into tText
put fld "Search field" into tSearch
filter tText with ("*" & tSearch & "*")
## or whereever you need the "wildcards" -> *

set the dgText of fld "DataGrid" to tText
...

You get the picture :)


Best

Klaus

Wow :-) Thanks again Klaus !

Posted: Thu Aug 20, 2009 8:34 pm
by titobal
Wow :-) Thanks again Klaus !