cancel
Showing results for 
Search instead for 
Did you mean: 

Filter on Aggregated column in UI5

dayakarp
Explorer
0 Kudos

Hi All,

By default in the analytical table for aggregated column I can see only the options for sorting, is it possible to enable the filter on the aggregated columns ?

Thanks,

Dayakar.

Accepted Solutions (0)

Answers (2)

Answers (2)

zamboni
Explorer

Hi, unfortunately this option is not available. try something custom by adding something like:

oTableItems.bindRows("/OnlyRequest", {filtros: filter_array_identifier}) 
or
oTableItems.bindRows("/OnlyRequest", {filters: filter_array_identifier}) or oModel.read(" /yourEntitySet", null, filters); ;
dayakarp
Explorer
0 Kudos

Thank you

leonikussmaul
Product and Topic Expert
Product and Topic Expert

Hi Dayakar,

There is no default option for this like there is for the sorting, but you can achieve it by implementing custom filtering logic.

Define a custom filter function with the logic, set it to the table instance, and then trigger the filtering event.

The Analytical Table borrows the customFilter from the sap.ui.table.Table so it works in a similar way. Perhaps this Grid Table sample re. filtering would help.

dayakarp
Explorer
0 Kudos

Thank you let me try this option.