How to delete the event action in a cell?
I used this but the focus remains
keysTable.event.remove.focus( node );
This the code:
keysTable.event.action( null, null, function( node ) { debugger; //return false; if(node.getAttribute('class').indexOf('xcl')) { keysTable.event.remove.focus( node ); $(node).EditCell(); return false; //keys.event.preventDefault(); } //$(this).EditCell(); //event.preventDefault(); } );
Solution:
keysTable.event.action( null, null, function( node ) { if(node.getAttribute('class').indexOf('xcl')) { keysTable.fnBlur(); $(node).EditCell(); } } );
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
I used this but the focus remains
keysTable.event.remove.focus( node );
This the code:
keysTable.event.action( null, null, function( node ) {
debugger;
//return false;
if(node.getAttribute('class').indexOf('xcl'))
{
keysTable.event.remove.focus( node );
$(node).EditCell();
return false;
//keys.event.preventDefault();
}
//$(this).EditCell();
//event.preventDefault();
} );
Solution: