make a filter for the grid in dhtmlxlayout

i have this script:

----------list.php----------------------------
header(“Content-type: text/xml”);
echo(’<?xml version="1.0" encoding="utf-8"?>’);

echo ‘’;
echo ‘’;
echo ‘’;
echo ‘Nummer’;
echo ‘Naam’;
echo ‘Gebdat’;
echo ‘Plaats’;
echo ‘’;

$sql = “SELECT * from patient WHERE PatNumNew > ‘0’ limit 100”;
$res = mysql_query ($sql);

if($res){
while($row=mysql_fetch_array($res)){
//create xml tag for grid’s row
echo ("<row id=’".$row[‘PatNumNew’]."’>");
print("<![CDATA[ ]]>");
print("");
print("<![CDATA[ ".$row['AchterNaam']."]]>");
print("");
print("");
print("");
}
}else{
//error occurs
echo mysql_errno().": “.mysql_error().” at “.LINE.” line in “.FILE.” file
";
}
echo ‘’;

dhxGrid = dhxLayout.cells(“b”).attachGrid();
dhxGrid.setImagePath(“inc/codebase/imgs/”);
dhxGrid.loadXML(“list.php”);


how can i get the: …attachHeader("#rspan,#connector_text_filterr");
working?

i can see the text field. but it doesnt realy filter

docs.dhtmlx.com/doku.php?id=dhtm … n_from_xml

i read that page, but still doesnt filter…
could u please make me an example?

Example of #connector_text_filter is available at dhtmlxConnector package (check if dhtmlxgrid_filter.js file is attached at your page0
Example of attachHeader called from XML is available at your dhtmlxGrid package dhtmlxGrid\common\gridHP.xml