ftopolovec / jquery-datatables-editable

Automatically exported from code.google.com/p/jquery-datatables-editable
0 stars 0 forks source link

fnOnEditing not working #145

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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