Use Insertitem After Bindaggregation In Sap.m.select
Solution 1:
Unfortunately what you're trying to achieve - while making sense to you - doesn't make sense in the context of binding. When you bind a data model to a control, the control then bases all of its rendering on that model. Additionally, any changes via. the control are pushed back to the model - this keeps the model and control in sync. Thus you cannot simply add another item to the aggregation once a binding is in place. The binding controls what items are added (updated and removed), not programmatic interference. You have two simply options (perhaps others too): read your model data into a JSON model, including your All Values dropdown entry, then bind the dropdown control to that JSON Model, or add the All Values entry to the underlying OData database table so it shows up in the dropdown.
Post a Comment for "Use Insertitem After Bindaggregation In Sap.m.select"