Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8501

Re: Table paginator refresh issue

$
0
0

Hi Jason,

 

Below is briefing:

 

var oSearchFld_Search= new sap.ui.commons.SearchField("searchField",{value:"",enableListSuggest: false,showExternalButton : true,
enableClear :  true,maxLength:50,tooltip:"Please enter a Search Term",
enableFilterMode : true,
oApp.fnsearchMasterTable(oEvnt.getParameter("query"));
}
}) ;

 

 

In fnsearchMasterTable() function, we have AJAX call to DB . The data is stored in JSON model and the table is bound to the model

Some snippets as below:

 

 

 

var oTable= sap.ui.getCore().byId("resultTable"); 
oTable.setModel(appModel) ;
oTable.bindRows("/Search_Result");

 

 

 

Hope this helps.

 

Regards,

Archana


Viewing all articles
Browse latest Browse all 8501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>