Header Renderer (HTML strings only)

Tags: #<Tag:0x00007f8b18c111c8>

I’m looking at the details for custom rendering Cells and Headers here:
https://handsontable.com/docs/6.2.2/demo-custom-renderers.html#page-registering-renderer

There’s a really nice way of registering a renderer for a cell, that provides a

to render into.

Rendering the column headers however only allow for rendering of HTML strings. Is there another way to declare a header renderer that is the same as the cell rendering standard?

Thanks

Hey Phil,

for the custom HTML headers you can use afterGetColHeader hook http://jsfiddle.net/pn3rv48p/

some of the options can also pass in the colHeaders http://jsfiddle.net/g1vo76e1/

1 Like

Thanks @aleksandra_budnik

You’re welcome.

I guess that I can close the ticket