dhtmlxgrid

I have a grid which is populated using a xml file. On click of a particular cell i want a list to be displayed in a html form based on the cell value. I am trying to do this using dhmlxgrid rowselect event. But i did not know how to proceed through dhtmlxajax. The same event i could do with dwr. I want a example of the same using dhmlxajax using the post method . I saw an example using php but i am using javascript so i want an example using javascript

grid.attachEvent(“onRowSelect”,function(id,ind){
dhtmlxAjax.get(“some_script.do?id=”+id,function(loader){
//here you have
// loader.xmlDoc.responseText - response from server
// id,ind - coordinates of the cell
any code to render list from response
})
})