javascript - Tree Table Filters Sapui5 -


i have problem filtering rows in tree table, normal table same filters working fine thou

here normal table aggregation code:

ttotals.bindaggregation("rows",{                     path: "totals>/prg_head",                     filters: [                         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 tree table aggregation

tevents.bindaggregation("rows",{                         path: "events>/prg_years(id_scenario=" + filterkrvr.scenario + ",i_year=" + filterkrvr.year + "m)" + "/hisgto",                         filters: [                             new sap.ui.model.filter("action_amount", sap.ui.model.filteroperator.ne, 0)                         ],                         parameters: {                             navigation: {                                 'prg_gto':  "hispipe",                                 'prg_pipe': "hisks",                                 'prg_ks':   "hislk"                             }                         }                     }); 

i tried write filter inside path of aggregation,tested in xsodata link in way, worked, developer's tools can see there no filter applied tevents table, ttotals ok. btw, model these 2 aggregations same. how can create new filter tree table?!

thank help!


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -