JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › datePicker error in grid › Reply To: datePicker error in grid
February 28, 2022 at 7:14 pm
#102908
admin
Keymaster
Hi,
The editor should be set like that:
{
label: 'Order Date', width: 250, dataField: 'date', cellsFormat: 'dd-MM-yyyy', editor: {
template: 'dateTimePicker',
formatString: 'dd-MM-yyyy',
onInit(index, dataField, editor) {
}
}
},
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/