Skip to Content

How to set default value in ComboBox depending on Key in Model

Jan 31, 2017 at 12:54 PM


avatar image
Former Member

Hi All,

I am using ComboBox inside a table, now I have to set default value to the ComboBox depending on Key in Table Model

For Eg: Table Model is below and column 3 is ComboBox and EN is the Key value of ComboBox which means English.

COL1 COL2 COL3 Venkat 25 EN

var oField = new sap.m.ComboBox({ selectedKey : "{COL3}");

I tried all the ways to bind value directly, but value is not coming in ComboBox of Table.

Please let me know how to procee.



10 |10000 characters needed characters left characters exceeded

Can you please provide code of yours and also please clear your issue too


* Please Login or Register to Answer, Follow or Comment.

0 Answers