cancel
Showing results for 
Search instead for 
Did you mean: 

How selected table values using drop down box???

Former Member
0 Kudos

Hi,

I am creating three dropdown boxes (Name,Salary and Designation) and crating one UI5 table,my table contain so much of data i want what i am selected in dropdown value based on data can be displayed , how to achieving this issue please help me

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Plunker

Regards,

Sai Vellanki.

Answers (2)

Answers (2)

vijay_kumar49
Active Contributor
0 Kudos

Please check this code. it should be useful. Filter Example-1


Kindly let me know if you need any more information.

Nigel_James
Active Contributor
0 Kudos

In the onchange event of the Select controls create a filter for the table data and update the binding.

Former Member
0 Kudos

give me any related examples the above issue???

Nigel_James
Active Contributor
0 Kudos

you know the onchange event right?

You can create a filter with

new sap.ui.model.Filter("oDataFilterName", sap.ui.model.FilterOperator.EQ, FilterValue) ;

Add these in an array of filters...

then do oTable.bindAggregation( ...

go to the openui5.hana.ondemand.com sdk site to get the rest of the details

former_member182862
Active Contributor
0 Kudos

hi Nagaraju

Here is a small example. Hope that you can adapt it accordingly

JS Bin - Collaborative JavaScript Debugging

-D