You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.
Hi, i dont can use a method on onClick:
const modifiedDecorators = Object.assign({},decorators, { Header: (props) => {
return (
{props.node.name}
<img src={BtnOn} className="header_items-img" onClick={() => this.handleDay()} />
);
}});
..
class Filter extends Component..
on constructor..
method:
handleDay = (event) => {
console.log("day");
this.setState({
chartFilterDemand: 'day'
})
}
and on render method:
But onClick don´t work, can you help me?
The text was updated successfully, but these errors were encountered: