I am using datatable and in that I have made on each column data if you click it will open modal popUp form.
in that form I have data to edit, it includes datepicker as well.
If initial columns if I try to edit form than in modal popUp datepicker is opening, but if I try to open last record modal popUp than datepicker is not loading in my modal form, same is working if I press down-arrowKey from key board which is very weird. if date is set than its working.
Could you please help me why datepicker is not working from last few records?
This is my existing code.
webix.ui({
view: “window”,
id: “update_request_obj_modal”,
modal: true,
position: “center”,
head: {
view: “toolbar”,
cols: [{
view: “label”,
label: “Update Data)”
},
{
view: “icon”,
icon: “times”,
click: function() {
$$(“update_request_obj_modal”).close();
}
}
]
},
body: {
view: ‘form’,
width: 750,
borderless: true,
elements: [
{
view: “combo”,
label: ‘Type: *’,
name: “request_type”,
invalidMessage: “Select Type”,
labelWidth: 300,
value: request_obj_data.type,
options: origional_request_type,
},
{
view: “datepicker”,
label: ‘Targeted Limited Availability(LA):’,
id: ‘object_la_date’,
format: webix.Date.dateToStr("%d/%m/%y"),
name: “object_la_date”,
labelWidth: 300,
value: Custom_OrigLADeployment
},
{
view: “datepicker”,
label: ‘Targeted General Availability(GA):’,
id: ‘object_ga_date’,
format: webix.Date.dateToStr("%d/%m/%y"),
name: “object_ga_date”,
labelWidth: 300,
value: Custom_OrigGADeployment
}