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

Re: Two dropdown buttons in a table, trying to bind each with defferent services but getting undefined error. Please help

$
0
0

Hello Chetna,

 

you give the ID like this:

template: new sap.ui.commons.DropdownBox({

  id : "sboxID",

  searchHelpEnabled : true,

   })

 

Try using createId()-method like this:

 

template: new sap.ui.commons.DropdownBox(this.createId("sboxID",{

     searchHelpEnabled : true

})

 

This way, you can access your Dropdownbox via:

 

this.getView().byId("sboxID");

 

Regards,

 

Dominik


Viewing all articles
Browse latest Browse all 8707


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