Say I didn't want to use the Group By option in an out of the box view to group my list by a certain field.

Is there a way to achieve this using jQuery, JavaScript or something other front-end code?

  • Just curious... What is the reason you don't want to use the native Group By ? – JayHell Jul 10 '15 at 13:43
  • It's a custom web part that aggregates data and was written a long time ago. They want to group the data like the out of the box web parts do. – spex5 Jul 10 '15 at 13:56

You can use JSLink which comes with every SharePoint List. This enables you to render content using your own code. Try this post for a complete guide on JSLink and this for grouping content.

Hope this helps you to start in the right direction.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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