I have a problem regarding primefaces schedule component buttons like the prev, next and also current date button. Can I put any function for the action of these buttons to get any value and also call another action?
Code: Select all
function setSelectedFullDayBackground(selectedDate)
{
var weekendDate = new Date(selectedDate);
$('td[data-date="' + weekendDate.toISOString().substr(0, 10) + '"]').addClass('fullDayBackground');
}
Code: Select all
$('.fc-next-button').click(function () {
console.info('test next');
});
$('.fc-prev-button').click(function () {
console.info('test prev');
});
Thanks