techsharma2000 / jquery-datatables-editable

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

Enhancement Request #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can you please add fnOnCancel?

I modify the text in a cell before I display it but I remove the decorations 
before I edit it. If I change the cell all is well, but if I cancel then if 
reverts back to the un-decorated state and there are no triggers that I can use 
to put it back.

Since "onreset" (in jeditable) occurs before the reset it is no good.

Hopefully this makes sense.

Leo

Original issue reported on code.google.com by leo.dop...@gmail.com on 8 Jun 2011 at 7:21

GoogleCodeExporter commented 9 years ago
Hi Leo,

I'm not sure that I have understood what you need. You need a hander that will 
be called before user cancels inline editing? If yo need this you can attach 
onblur handler on the inline editor.

Note that I have limited control over the inline editors because this plugin 
just initialize editor and waits until it finishes with editing. If JEditable 
does not provide that kind of function I cannot implement it without modifyng 
original JEditable code.

Regards,

Jovan

Original comment by joc...@gmail.com on 11 Jun 2011 at 12:40

GoogleCodeExporter commented 9 years ago

Original comment by joc...@gmail.com on 15 Sep 2011 at 8:53