1

I am customizing sharepoint search result web part and trying to render Ul and li tags, following are my control and item template html files

my control template

Control template

my item template

Item Template

result

result

but output file rendering some extra div elements inside UL tags, I don't want highlighted divs.

1 Answer 1

1

The Grouping divs are coming from the Group_Default.html file. If you want to remove those I would assume you'll have to edit the Group_Default.html file as well.

enter image description here

2
  • Can I configure my web part to not to use grouping at all?
    – Ali
    Commented Jan 31, 2016 at 23:41
  • I was wondering that too, but didn't see any such option. I think the functionality is there for things like Result Blocks? Not sure.
    – Robin
    Commented Feb 3, 2016 at 21:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.