how to search for entered text in search field

hai all,
The following code is used to list all records from database for without any entered in search field.
i want to list records from sql database for entered text in search field.
for example,the product name camera in sql database means,if i enter camera in search field means,i want to display camera only.
like that if entered only b and click search button means want to list records starting with letter b...how to do these allthings....
so i want to display records for with and without entered text in search field.
then how to diplay records from sql database in text field...
Ext.setup({
onReady:function()
{
Ext.regModel('Products',
{
fields:['ProductName','Price','ManufacturedCompany','MadeBy']
});

to search

hai mitchellsimoens....thanks for reply...i can't understand u sended filter....i am new to this sencha plz help me...
i want to search the records from sql database and also i want to display records from sql database in each textfield...plz help me....

hai all,i want to search the entered string in the search filed,for example,the product name camera in sql database means,if i enter camera in search field means,i want to display camera only.like that if entered only b it should list all the records starting with letter b...how to do these allthings in json???and how to diplay records from sql database in text field...can any one tell me plz how to do that??