Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

How to access control model from 'blur' browser event

$
0
0

Hello Experts,

 

I have a textField column in a table.

 

I need to listen to the 'blur' event of each textField cell.

 

I use the following code:

<textField>.attachBrowserEvent("blur", onBlur);

 

The code works and I can get the textField's value (by using this.getLiveValue()).

 

However, I need to get other property from the model (from the same row).

 

How can I get the model from the 'blur' function? (get the exact row properties)

 

I can always add a hidden column and use jQuery sibling etc to get the value but I'm sure there is more elegant way (-:

 

Regards,

 

Omri


Viewing all articles
Browse latest Browse all 8124

Trending Articles



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