Add button in column header of database

Hello,

What’s the best way to add a name and a button in a datatable column header ?

column : [
{id : “name”, header: [?], fillspace: true}
]

Thanks

Hello,

There’s no way to embed a Webix button, but you can add any html-element. Please check the related article:

http://docs.webix.com/datatable__headers_footers.html

And the snippet: http://webix.com/snippet/c66100ae

Thanks :wink:

Hi Listopad,

is there a a way to do this in the footer - I don’t see a onFooterClick() handler.

-edit, nevermind - got it!

https://snippet.webix.com/bk6267s9