How to get the Binding path of sap.m.Table

It requires the following steps:

  1. Get the Table instance of sap.m.Table
  2. call the getBinding() method to get the instance of sap.ui.model.Binding
  3. From the instance of sap.ui.model.Binding, call the getPath() method. It returns the path of the Model to which the Binding happens. ( Code Example below)
var modelBinding = mTableInstance.getBinding('items');
var pathOfModel = modelBinding.getPath();

The pathOfModel contains a string value.