我是SAPui5的新手,在SAPui5中我有一个关于刷新tiles的值的问题。正如我们所知道的,我们可以使用model.refresh(true)
,但它将渲染模型并导致闪烁。
是否有其他方法可以在不刷新模型的情况下刷新值?
谢谢
发布于 2018-09-19 08:35:24
您可以尝试这样做:
您的观点:
<Text id="myTextControl" text="{myBindingText}" />
您的控制器:
this.getView().byId("myTextControl").getBinding("<BINDED_PROPERTY>").refresh(); //In this case the binded property is "text"
https://stackoverflow.com/questions/52400864
复制