dhtmlxgrid filter problem.

dhtmlx.com/docs/products/dhtmlxG … _srnd.html
dhtmlx.com/docs/products/dhtmlxG … earch.html

the two examples javascript method “doOnLoad” is same…

when i use it,i wanna use 05_pro_filter_srnd.html.but i cannot works…

Could you clarify your problem. Both samples work well.

1.png is my wanna… the grid data changed
2.png is not …the grid data only highlighted

but the example on dhtmlx site ,the method code is same.
so i didn’t understand…
the code both this…


		var myGrid;
		function doOnLoad(){
			myGrid = new dhtmlXGridObject('gridbox');
			myGrid.setImagePath("../../../codebase/imgs/");
			myGrid.setHeader("Sales,Book Title,Author,Price,In Store,Shipping");
			myGrid.attachHeader(" ,#text_search,#select_filter, ,#cspan,#cspan");
			myGrid.setInitWidths("50,150,120,80,80,80,80,200");
			myGrid.enableAutoWidth(true);
			myGrid.setColAlign("right,left,left,right,center,left");
			myGrid.setColTypes("dyn,ed,ed,price,ch,co");
			myGrid.getCombo(5).put(2,2);
			myGrid.setColSorting("int,str,str,int,str,str");
			myGrid.init();
			myGrid.enableSmartRendering(true);
			myGrid.load("../common/500.xml");
		}




In the second sample the “#text_search” is using and in the first one - “#text_filter”.

i am so sorry…
i become older now…i didn’t find the different part

Just change #text_search in your code to #text_filter.