Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Naren on Sep 17, 2009 00:23
open dhtmlx forum
grid with auto complete cell

Hello,

I want to plug in autocomplete (filtering) functionality into cell of dhtmlxgrid.

Then,if i type 'k' in cell of grid,grid show start with 'k' character word loading from server dynamically(XML),for example koala,karade etc..

Presently i am using 1.5 pro version . Is it possible?.

As per example shown here didnot gave good idea how to plug in the combo cell in to dhtmlxgrid.


Can i use the following to achieve the same?
1) Declare the "co" cell
2)combo= mygrid.getCombo(cellindex);
3) combo.setEnableAutoFilteringMode(true,sometest.do,true);

Can i restrict combo to fetch the data from server only after user enter 3 characters ?. not single character.


it will be great if you provide me good example or code snippets.

Thanks
Naren
Answer posted by dhxSupport on Sep 17, 2009 05:30
>>I want to plug in autocomplete (filtering) functionality into cell of dhtmlxgrid.
It can be done with "combo" excell type. Please find example here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/13_interaction_other_components/01_pro_combo.html. In this exampe 1st and 3rd columns work in autocomplete mode.
>>Presently i am using 1.5 pro version . Is it possible?.
"combo" eXcell type is available at your version of dhtmlxGrid. 
Please find complete documentation here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:how_to_use_new_excell_combo&s[]=combo