Add onClick functionality in onBeforeRowHeaderRender or onBeforeRowHeaderDomAdd
1 years ago.
We want to add `onClick` feature in DOM element inside `onBeforeRowHeaderRender` which renders html by using `row.html = ReactDOMServer.renderToString()`. But it does not work.
Hence we tried using `onBeforeRowHeaderDomAdd` and onClick event works as expected. But onBeforeRowHeaderDomAdd disables expandable tree styles.
Link: https://forums.daypilot.org/question/6099/onbeforerowheaderdomadd-disables-expandable-tree-styles
But if we enable it by using `args.target = ‘Text’` then our custom JSX code does not work and onClick also does not work. Is there any solution to this?
DayPilot
