we are using Pro version.
We are displaying grid using xml sent from server side. We need to let the user edit the grid. i got 2 questions
1. Is it possible to use ajax on just one specific cell and provide some sort of auto complete, is there any samples
2. we want to disable or make is read only specific cells, how do we that from XML. we don’t want to call read only on each cell after loading the cell.
1. You can use dhtmlxDataProcessor. Please see example here dhtmlx.com/docs/products/dhtmlxG … g_ext.html
Thanks for the reply. The sample is basically getting data and displaying from server php. What we need is when displaying data we use XMLtoString() and pass XML to load initial grid. In this grid some of the cells needs to be Ajax look ups. Is there any way to do it. Say i have 3 column, when user selects my 3rd column, 2rd row cell i want the cell to support ajax look up to get values from data ( the query to database should have vaues from 2rd row, first column) and display a combo box. do you have any working samples or idea how to accomplish it with dhtmlgrid.
You can use “combo” excel type which has autocomplete functionality
Please see example here dhtmlx.com/docs/products/dhtmlxG … d_intcombo
Thanks. How do we pass additinal parameters to autoSerarch. we got “\SerachServlet?param1=test” as source. i want to pass additional parameters to that source from grid other columns for performing a search. Is there any way to it.
You can access the combo object as
var combo = grid.getColumnCombo(index); // index - column index
and use
combo.setFilteringParam(name,value);
to add additional parameters
( the best way to exec such code is onEditCell event, stage 0 or 1 - exactly before combo cell switched to edit state )