title: How to get the Selected Item in Sap.m.table and in List
body: <p>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.</p>
  
  <p>So I would like to know how to : </p>
  
  <ol>
  <li><p>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)</p></li>
  <li><p>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.</p></li>
  <li><p>If I have one List and when user click of any item , it should display the selected item properties in alert or console. </p></li>
  </ol>
  
  <p>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.</p>
  
  <p>Regards,
  Mayank</p>