Skip to Content
avatar image
Former Member

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

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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers