我通过传递参数从应用程序1到另一个应用程序进行跨应用程序导航。
在目标应用程序中,我有智能过滤条。我使用智能表中的"beforeRebindTable“事件进行过滤。
我的要求是,当我导航到目标应用程序时,我希望智能过滤栏的"GO“按钮自动点击。这样,我就可以在智能表上查看筛选过的数据,而无需单击任何内容。
你好,乌尔维什
我试过了
this._oFilterBar._oSearchButton.sId.click()在onInit()中;
但这给了我一个错误。
var b = E.getParameter("bindingParams");
if (this.onCreate().InspectionLot[0] != "" || this.onCreate() != "")
{
var oFilter = new sap.ui.model.Filter("InspectionLot",
sap.ui.model.FilterOperator.EQ, this.onCreate().InspectionLot[0]);
b.filters.push(oFilter);
}发布于 2019-06-25 08:25:56
您可以使用属性在智能体中启用自动数据请求。
enableAutoBinding="true"还可以在路由匹配事件中重新绑定表
thisgetView().byId("YourSmartTable").rebindTable();https://stackoverflow.com/questions/56748067
复制相似问题