Answer the question
In order to leave comments, you need to log in
How to work with click FullCalendar and Yii2?
I tried it for everyone, I need to click on the time to get a dialogue, like specify the exact time and client.
<?= \yii2fullcalendar\yii2fullcalendar::widget(array(
'events'=> $events,
'header' => [
'center'=>'',
'left'=>'title',
'right'=>' prev,month,agendaWeek,agendaDay,next'
],
'clientOptions' => [
'eventClick'=>" function(calEvent, jsEvent, view) { alert('Event: ' + calEvent.title);}",
],
'options' => [
'lang' => 'ru',
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question