[flexcoders] Search while you type?

2005-09-29 Thread Greg Johnson
I return a list from a database into a datagrid. I then have a text entry field with a keydown event set to call a function. The function runs though the currently loaded like, compares what is in the text entry field's .text property and creates a array with only those entries then resets the

Re: [flexcoders] Search while you type?

2005-09-29 Thread Greg Johnson
I did some sniffin around and got mine to work right. For anyone interested I made a kinda generic version below. // sourceArray = any array you are currently using as a datasource, most likely it will be preloaded with entries // search = the ID of the text entry field you want to use