Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3458

Re: refresh or reload UI5dropdown

$
0
0

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.


Viewing all articles
Browse latest Browse all 3458

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>