How to use JSX in headerCellTemplate
arindambarman1-zz opened this issue · 2 comments
arindambarman1-zz commented
On header cell click I need to call function in the following format
colDefs.push({ headerName: "Date",
field: 'groups.date',
editable: false,
suppressMovable: true,
pinned: 'left',
headerCellTemplate: function(header){
return (<span onClick={() => {this.doSomething}}></span>)
}
})
I can't seem to find this how to do in the documentation
arindambarman1-zz commented
Nevermind I found another solution to this but it would be great if it supported
JSX also.
totszwai commented
What other solution did you find?