Hi Swati,
Why would you use bindProperty instead of directly binding the property text, something like this:
oTable.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({text: "SCN"}),
template: new sap.ui.commons.TextView()({text: "{property2}"}),
sortProperty: "PAN",
filterProperty: "PAN",
width: "300px"
}));
also use filters, aggregation binding and set the model after binding the row, like below:
filter = new sap.ui.model.Filter("Account","EQ", "20")
oTable.bindAggregation("rows","/QueryAccountSet",null,filter);
or using below:
oTable.bindRows("/QueryAccountSet",null,filter); or using below:
//Create a model and bind the table rows to this model
oTable.setModel(oModel2,);
Hope this helps.