CJuiDatePicker on TbButtonColumn

Whow can I implement CJuiDatePicker on TbButtonColumn in TbGridView widgets ?

I cant get the meaning of that. You can’t focus on how but why. Try to be more specific about what you are trying to get with your interface design… keep contact…

I use TbButtonColumn in TbGridView :




...

array(

        'class' => 'bootstrap.widgets.TbButtonColumn',

        'template' => ' {dueDate} {update} {view} {delete}',

        'buttons' => array(

            'delete' => array(

                'visible' => '$data->user_id_from > 0',

            ),

            'dueDate' => array(

                'label' => Yii::t("messagesModule.view", "Due date"),

                'visible' => '$data->user_id_from > 0',

                'icon' => 'icon-calendar',

                'url' => 'Yii::app()->controller->createUrl("dueDate", array("id" => $data->id))',

            ),

        ),

    )



I want to attach datepicker to ‘dueDate’ button with feedback function eg: saveDate(id, newDate);

id - comes from PHP

newDate - comes from datepicker