Hey,
I had a RowRepeater in a ThingViewer but now i want to have the ThingViewer as an overlay so used an ThingInspector instead.
Since then the binding of the row repeater does not work well. I can only see the items the second time i navigate to a page.
Has anyone a idea what the problem can be?
Some code:
Binding to the row repeater. In our Case issuePath is "ISSUE_IN_TREE_CONTEXT"
this.oIssueList.bindRows( this.getViewData().issuePath, template, new sap.ui.model.Sorter("ISSUE_TIME_CREATED", true), [new sap.ui.model.Filter( "PROJECT_ID", sap.ui.model.FilterOperator.EQ, sablono.util.URLParameter.readProjectId().id), //PROJECT_ID ] );
Then when the inspector is opened a filter is fired:
var oRepeater = this.byId("commentRepeater"); oRepeater.getBinding("rows").filter([ new sap.ui.model.Filter( "CONTEXT_COMPONENT_ID", sap.ui.model.FilterOperator.EQ, oData.data) ]);
Is this a general problem when using a row repeater in an overlay? outside of it, it worked fine.