I have a grid which is enabled for cell editing. I want to add the value of the id of the currently edited row to the url that is passed to the dataUrl property of the editoptions attribute. How can i achieve this?
{
name:'selectBox2',
index:'selectBox2',
editable: true,
edittype: 'select',
editoptions:
{
dataUrl : 'classes/form_db.php?id=????????',
multiple:true,
size:5
}
}
There are many ways to implement the requirement. The choice depend mostly from the editing mode which you use and which you not specified in your question. First of all I would recommend you to try the way described in the answer. One more way I described here.