I am new to SAPUI5 and I just created some applications with sap.m.table and sap.m.list. And now I am totally confused with so many ways of getting the selected items in table and list bonded with JSON Model.
So I would like to know how to :
- If I have one table and when user click of any row , it should display the selected row item values in alert or console. (onclick of rowevent in controller)
- If I have one table and when user click of any row , it should display only one of the selected row item value in alert or console. for example one of the column is "id" so only show the value of ID in alert.
- If I have one List and when user click of any item , it should display the selected item properties in alert or console.
4.If I have one list and when user click of any item, it should display only one of the selected item properties in alert or console. for example one of the property is "title" so only show the value of title in alert.
Regards, Mayank