Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Search result webpart customization of the Display template using javascript

$
0
0

hi,

i have pretty much followed this tutorial for the sales report from this link. But also used the search result webpart on a few different webpart pages for an easy access for my boss and some others.

Everything works fine for me. But i have an additional request from my boss. He wants to have a "nice" header for the table i made in the display template. As i have to follow the CI i need to insert the title in a h3 html tag, but dont want it to be hardcoded.

I would like to have some javascript to read the aktual webpart title as shown in the chrome. Unfortunatley i have next to none experience with javascript.

Maybe someone can help me with this? I already checked der SDK and some tutorials but so far i had no luck.

Also better ideas would also be welcome.


Viewing all articles
Browse latest Browse all 7589

Trending Articles



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