Hi Swaroop,
I tried to use oModel to update as below.But still the drop down is not refreshed with the query result.
Any Help?
$.ajax({
url: '/XMII/Illuminator?QueryTemplate=Test/test.XQry&Content-Type=text/json',
type: 'POST',
data:{'Param.1':plant, 'Param.2':sfc},
success: function(sdata)
{
var oResult = sdata.Rowsets.Rowset[0].Row;
var abc = [];
abc.push(oResult[0].wc);
var oModel = new sap.ui.model.json.JSONModel();
oModel.setData(abc);
dropdown_c0c0.setModel(oModel);
}
})
Regards,
Naga.