Custom HTML based table header without breaking sorting

Custom HTML based table header without breaking sorting

Pete44Pete44 Posts: 22Questions: 7Answers: 0

Is there an elegant possibility to add custom HTML to a specific table column header without breaking the default sorting functionality?

I can change the column header with setting a custom title like

title: "<span>Triggers column sort</span><span>Don't trigger column sort</span>",

But both texts are triggering the sorting behaviour. I'm interested to add a custom button next to the default text with my own stuff in the table header.

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.