A
A
artem1633972016-12-02 12:01:45
Yii
artem163397, 2016-12-02 12:01:45

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

1 answer(s)
A
artem163397, 2016-12-02
@artem163397

Doesn't work like that!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question