Skip to Content
Former Member
Feb 27, 2017 at 04:24 AM

On Sort "Request aborted" error is coming

39 Views Last edit Feb 27, 2017 at 04:26 AM 3 rev


Actually I am using sap.ui.model.Sorter to sort the sap.m.Table control 
and I am getting the error in console i.e. "The following problem occurred:Request aborted"<br>
Please see the below code for sorting and attached screenshot.

///////For Sorting///////////////
onAfterRendering: function() {

var getSortedCompanyItem=[]; 
var companySort = new sap.ui.model.Sorter("active",true,false); 
getSortedCompanyItem.push(companySort); var companySortInstance=sap.ui.getCore().byId("companyTable");
var companysortListBinding= companySortInstance.getBinding("items","/AllCompanies/",sap.ui.getCore().byId("companyTableRows"));
companysortListBinding.sort(getSortedCompanyItem); } Please suggest something. Thanks in Advance Somdutt


requestaborted.jpg (71.5 kB)