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 +"
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
Post a Comment