// in controller:
$this->grocery_crud->callback_add_field('date',array($this,'_date_fill_now'));
protected function _date_fill_now()
{
return '<input name="date" type="text" value="'. current_time() . '" maxlength="19" class="datetime-input">';
}
The datepicker js files will not be loaded, so the datepicker doesn't pop up when I click on the date field.
How can I load them the right way ?