Hi experts,
I'm trying programmatically to move a xmlView (which contains a VizFrame) from one grid to another. However as long as I remove or add a xmlView I get an "50017 - Ungültige Datenbindung" error.
This is how the xml code look
And when I try to remove "__xmlview0----idMvcViewPlanStatus" from the "__grid1" other charts in "__grid1" get messed up.
var grid0 = sap.ui.getCore().byId("__grid0"); var grid1 = sap.ui.getCore().byId("__grid1"); var xmlViewStatus = sap.ui.getCore().byId("__xmlview0----idMvcViewPlanStatus"); grid1.removeContent(xmlViewStatus)
and the result
Also when I try to add __xmlview0----idMvcViewPlanStatus" to the "__grid0" other charts in "__grid0" get messed up.
The grid and its content, i.e xmlViews get automatically rerendered but you can see the output in the picture above. I can also observer that my OData service calls happened.
Do you have any ideas why I get the error?
Kind regards,
Filip Perisic