Hi Rizwan
Greetings from Syncfusion support
Based on your query you want to open the calendar component when you focus on the input element in the grid edit. We have prepared a sample to render the calendar component using cell edit template and open the calendar using the focus event and Show method of EJ2 Calendar component.
Please refer the below code example and sample for your reference,
|
function write(args) {
dObj = new ej.calendars.DatePicker({
value: new Date(args.rowData[args.column.field]),
placeholder: 'Select DateTime',
focus: function () {
dObj.show();
},
});
dObj.appendTo(elem);
} |
Regards
Vignesh Sivagnanam