Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Items in sap.m.combobox not updated after apply filter to its model (odata)

Hi all,

I have defined a fragment with a dialog inside.

In the dialog, there are several combo boxes and they have sequence relationship.

All combo boxes are binding to one OData model but different entityset.

In my scenario, when user selects an item in combo box1, my program uses selected item value as condition value to apply filter on combo box2 (This all happen in dialog).

My problem is I can see a triggered odata service call with specified filter parameter and value, but somehow return values doesn't reflect to the items of combo box2.

I tried to refresh odata model, updatebindings, but all not working.

Can anyone give me some suggestions? Thanks.

Kind Regards,

Nick

replied

Hi Ankit,

I finally figured out an solution to solve my problem.

Below is the solution I found and applied the technique in my program.

sap.m.Dialog using xmlview as content issue · Issue #55 · SAP/openui5 · GitHub

I finally realized that it seems no automatically render features in sap.m.Dialog, so I cannot implement dynamic filter function. Thanks again for your reply. Cheers.

Kind Regards,

Nick

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question