Hi Shawn,
Excellent thank you. Your example is surely working.
But I tried to code following the guidelines in developers guide (below link)
https://sapui5.hana.ondemand.com/sdk/#docs/guide/3d18f20bd2294228acb6910d8e8a5fb5.html
And obviously it is not working, is this a bug in SAPUI5?
I will try to setup an example for you to show you that its not working by following the above guide.
Regards,
Chidan