Skip to Content
0
Jan 15, 2020 at 08:00 PM

custom filter for all components sap.ui.table.table

1372 Views Last edit Jan 15, 2020 at 08:01 PM 2 rev

Hi, guys!

I need to create a general event for all sap.ui.table.table components where when a column is filtered I can retrieve the column name and the entered value but can't.

What would be the best way to do this?

I'm trying like this:

sap.ui.table.Table.prototype.constructor.prototype.attachFilter = function() {
    console.log(this.getBinding().aFilters);
};

Thank you very much in advance.