Modificar selector emergente para el calendario

This commit is contained in:
El Mau 2022-01-06 21:15:11 -06:00
parent b3663dfcc6
commit 3ffc54f966
1 changed files with 8 additions and 7 deletions

View File

@ -850,12 +850,13 @@ var opt_origen_destino = [
]
//~ webix.editors.$popup = {
//~ date: {
//~ view: "popup",
//~ body: {view: "calendar", timepicker:true, icons:true}
//~ }
//~ };
var date_suggest = {
type: 'calendar',
body:{
timepicker: true,
icons: true,
}
}
var grid_cols_carta_ubicaciones = [
@ -863,7 +864,7 @@ var grid_cols_carta_ubicaciones = [
{id: 'delete', header: '', hidden: true, width: 30, css: 'delete'},
{id: 'TipoUbicacion', header: 'Tipo de Ubicación', editor: 'select', options: opt_origen_destino, fillspace: 1},
{id: 'RFCRemitenteDestinatario', header: 'RFC Rem/Des', editor: 'text', fillspace: 1},
{id: 'FechaHoraSalidaLlegada', header: 'Fecha/Hora', editor: 'date', format: webix.Date.dateToStr("%D, %d-%M-%Y %h:%i"), footer: 'Total distancia:', fillspace: 1},
{id: 'FechaHoraSalidaLlegada', header: 'Fecha/Hora', editor: 'date', suggest: date_suggest, format: webix.Date.dateToStr("%D, %d-%M-%Y %h:%i"), footer: 'Total distancia:', fillspace: 1},
{id: 'DistanciaRecorrida', header: 'Distancia (KM)', editor: 'text', css: 'right', footer: {content: 'summColumn', css: 'right'}, fillspace: 1},
]