Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Filter one record from model and bind it to an control like standard tile

$
0
0

Dear community,

 

 

is it possible to filter a single record from an oData Entityset and bind the element to an controle like a standard tile.

For example I have a list of persons and I only want to show the name of the person within the standard tile if a given constraint matches.

 

Show me name of a person where property x is equal value y

 

Actually I tried it with bindElement()but without success.

standardTile.bindElement(

"/persons",

new sap.ui.model.Filter("Id", sap.ui.model.FilterOperator.EQ, 1)

)

 

I created a minimal example at JS bin


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>