gaurav21/jquery-datatables-editable

fnOnEditing not working

Opened this issue · 0 comments

Hi Guys,

I'm trying to use your version of datatables with editable.

So far so good, but I'm trying to make on of the fields use the jQuery UI 
datepicker when editing.

I'm trying to use this function

fnOnEditing:  function(){
        console.log('editing');
            $( '.datefield' ).datepicker({ showOn: 'both', buttonImage: '/content/images/sm-icon-calendar-24x24.png', buttonImageOnly: 'true', dateFormat: 'yy-mm-dd',changeMonth:true,changeYear:true, showButtonPanel: true});
        }

and I have this configured in the aoColumns for that particular cell
{
    type: 'text',
    cssclass: 'datefield'
}

But it's not adding the datepicker or even do any output on the console.

Any ideas would be great.

Fede

Original issue reported on code.google.com by f...@shocklogic.com on 5 Mar 2013 at 2:28