javascript - SharePoint 2013 list search box and Client Site Rendering (JSLink) -


I'm trying to apply an FAQ to the Epicearan sharepoint list. While using JSL, I have been successful in administering the search Unfortunately the search is not working properly. I have used the following code in my JSLink JS:

  (function () { Start the / * * variable, which store overrides objects. * / Var OverrideTTP = {}; OverrideTTX.Templates = {Header: Function (ctx) {var headerHtml = RenderTableHeader (ctx); headerHtml + = "& lt; / Table & gt; "; headerHtml + =" & lt; div id = 'acord Create a list entry for each announcement in the list of '' '' '' '; return' headerHtml;}, foot: function (CTX) {return " gt;"}, item: function (ctx) {// list. Var ret = "& lt; h3 class = 'OutlookFAQ'> gt; + ctx.CurrentItem.Title +"  

I'm sorry, the ordereran is working, the search box is a beeping display. If I try to submit a JS error "type error: search then it is popped up in .p.ui.listsearchbox.js. $ T_3 is zero". Any ideas?

Regards

Rene

this error is missing Search Status element that is a part of Search Control and footer template

search status

search status element search The RenderSheestStatus function is used to display the signal about the results used to provide search status

Solution

Change the fostering rendering template

  Footer: Function (CTX) {return  / div & Gt; "; }  

with

  footer: function (ctx) {var footerHTML = "& lt; / div>"; Footer HTML + = RenderFooterMettle (CTX); / / Submit standard footer (pager, search position) returns footer html; }  

An example of a list view provided in the blog post as an adrodon.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -