Hi,
I’ve set formatstring to ‘HH’ in timelineWeekView, when I select another date then it’s displayed like ‘dddd, MMMM dd, yyyy h:mm tt’.
$("#scheduler").jqxScheduler({
theme: 'bootstrap',
date: new $.jqx.date(2016, 11, 23),
width: 850,
height: 600,
source: adapter,
view: 'timelineDayView',
showLegend: true,
ready: function () {
//$("#scheduler").jqxScheduler('ensureAppointmentVisible', 'id1');
},
resources:
{
colorScheme: "scheme05",
dataField: "calendar",
orientation: "vertical",
source: new $.jqx.dataAdapter(source)
},
appointmentDataFields:
{
from: "start",
to: "end",
id: "id",
description: "description",
location: "location",
subject: "subject",
resourceId: "calendar"
},
views:
[
'dayView',
'weekView',
'monthView',
{
type: 'timelineWeekView', timeSlotWidth: 275, timeRuler: { scale: 'hour', scaleStartHour: 6, scaleEndHour: 17, formatString: "HH" },
},
'timelineDayView'
]
});