hi there..
i have datagrid (edatagrid), retrieve from table PART (part,idsupplier)
edatagrid has 2 column with only one is inline editing (combobox).
This combobox will retrieve data from table SUPPLIER (idsupplier,namesupplier) through URL supplier.php. and everythings OK.
But, since datagrid only for editing (no addrow), and each supplier have a category, I need to add parameter on url. so the new URL is supplier.php?idcat=XX. (contains of each combobox is different each row, depends on idcat.
"XX" will be the value of field idpart on table PART.
How do I write down this XX value ?
<table id="dlgt"
toolbar="#toolbartag" pagination="true"
rownumbers="true" fitColumns="false" singleSelect="true" idField="idpart">
<thead>
<tr>
<th field="part" width="200" sortable="true">Part</th>
<th field="namesupplier" width="350" sortable="true"
editor="{type:'combobox', options{url:'supplier.php?idcat=XX', valueField:'idsupplier',
textField:'namesupplier', required:true}}">Supplier</th>
</tr>
</thead>
</table>
thanks for your great support..
best regards
Putu