i have a problem with filtering rows in tree table, the normal table with same filters are working fine thou
here is the normal table aggregation code:
new sap.ui.model.Filter("ID_PRG_VERSION", sap.ui.model.FilterOperator.EQ, filterKRVR.program),
new sap.ui.model.Filter("ID_SCENARIO", sap.ui.model.FilterOperator.EQ, filterKRVR.scenario),
new sap.ui.model.Filter("I_YEAR", sap.ui.model.FilterOperator.EQ, filterKRVR.year)
and here is the tree table aggregation
path: "events>/prg_years(ID_SCENARIO=" + filterKRVR.scenario + ",I_YEAR=" + filterKRVR.year + "m)" + "/HisGTO",
new sap.ui.model.Filter("ACTION_AMOUNT", sap.ui.model.FilterOperator.NE, 0)
i even tried to write the filter inside the path of aggregation,tested it in xsodata link in this way, it worked, but from developer's tools i can see there is no filter applied to tEvents table, but for tTotals its ok.
btw, the model for these two aggregations is the same.
So how can i create a new filter for tree table?!
thank you all for the help!