cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 sap.m.Table item level filtering in a Dropdown based on the current Item selectedKey

venkatakalyan_karanam
Active Contributor
0 Kudos

HI Experts,

I am facing with table item level filtering based on OData

I have a table (sap.m.Table), one of the Column is a ComboBox and binding to one of the EntitySet. The data (items) are coming on execution of a oData URL and Population is based on the success of the oData call. Is it possible to filter the Dropdown values for eah Item with the Item level property. I have tried with XML filtering in the view code thats not working. ComboBox should be filterable based on the OData Table data coming on a successful execution of a service.

Please note that its not Header level filtering.

Each Item i.e Row , comboBox should consists based on Filter Value (which is binded again to the SelectedKey of a combobox).

Please let me know is this scenario possible normal scenarios is it possible with expanded Entity

Generally in all Items (rows) the combox is populated on the base of entitySet, this is a bit fifferent

Please let me know if you can come across this scenario.

Thanks and Regards

Kalyan

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member365727
Active Contributor
0 Kudos

yes its possible to do this. Use any of the below techniques

  1. Factory function
  2. Lazy load ComboBox (on click of combobox only items will be loaded using event handler. In Event handler apply filter on ComboBox items binding)