Skip to Content

sap.m.table

How to get the table View in controller.js without using table Id

Example:

var oTable = this.getView().byId("tableId");

var oBinding = oTable.getBinding("items");

this gives me :

"f {mEventRegistry: {…}, oModel: constructor, bRelative: false, sPath: "/studentname", oContext: undefined, …}"

how to get the table view without using ID?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

0 Answers