Hello,
I'm trying to use DateTimePicker like this:
<DateTimePicker
show={show}
onChange={this.onDatepickerChange}
// cancelButton={false}
popupSettings={{
appendTo: this.renderRef,
animate: false,
}}
/>
<Button onClick={this.toggleCalendar} />
<div id="render" ref={(render) => { this.renderRef = render; }} />
1. I don't have control on "Cancel" button. When I set show prop and try to toggle the calendar with custom button, the "Cancel" button doesn't work. I can only hide it.
2. Then I tried to set DateTimePicker popup to Not render in the "body", but it doesn't work. Every popupSettings is ignored. I tried this in kendo react Popup component and the prop "appendTo" worked as expected.
Thanks in advance for the help !