Thanks for your reply,
Any reply regarding me first question which dont trigger confirm listener ? Have u tested it ?
I think i understand what do you mean but how can i access picker's listeners from the following code in react ?
tbar: {
items: {
dateRange: {
type: 'daterangefield',
placeholder: 'Select Date',
confirmable: true,
revertOnEscape: true,
autoExpand: true,
clearable: true,
onClear(props) {
console.log('onClear', props);
},
onConfirm: (value) => {
console.log('onConfirm', props);
}
},
}
},
Thanks in advance for your help.
You can configure via https://bryntum.com/products/grid/docs/api/Core/widget/DateRangeField#config-picker
tbar: {
items: {
dateRange: {
picker {
// add listeners or other config options you need for picker here
}
...
},
}
},