Skip to Content
0
Former Member
Apr 22, 2014 at 05:16 AM

Get the model when clicking a button on a table row

607 Views

I have a SAPUI5 table binded with the simple model. I'm printing the data using Table control of SAPUI5. I'm binding the name field with the name column of the table control and on the next column I have a button. When you press this button I'd like to perform some operation on the model (read) however I can't figure out a way of getting the instance of the model in the callback function for the button.

Here's the JSBin to reproduce the problem.