Input value in the callback of an editable cell

Input value in the callback of an editable cell

vvcorralvvcorral Posts: 9Questions: 0Answers: 0
edited June 2011 in Plug-ins
Hi people!
i continue working with editable plugin for datatables...

but i have a problem...how can i get the input value of the edited cell? I´m trying with the function(value, settings) that i found in this web: http://www.appelsiini.net/projects/jeditable
But "value" and "settings" are undefined... anybody works with this plugin and can help me please?

[code]
......
.makeEditable(
sUpdateURL: "amenazas.htm?actualizar",
"aoColumns": [
{ callback: function(value, settings){
alert(value); -----> here value is UNDEFINED
}
}
......
[/code]

Replies

  • vvcorralvvcorral Posts: 9Questions: 0Answers: 0
    it is not posible to use callback function in aoColumns??
    if not, what function can we use to execute when a specific column is edited??
  • vvcorralvvcorral Posts: 9Questions: 0Answers: 0
    really i need your help.... i have lost weeks with datatables doubts...please help me with this and i will be eternally grateful :_)
  • vvcorralvvcorral Posts: 9Questions: 0Answers: 0
    edited June 2011
    Now works with a new patch in the editable plugin! solved!! :D
  • NJDave71NJDave71 Posts: 40Questions: 3Answers: 0
    How was this solved? I would like to call a function after a column is update?
  • vvcorralvvcorral Posts: 9Questions: 0Answers: 0
    I asked Jovan (the author of jeditable plugin), and he updated the plugin with new options :)
    You can have a look at this thread http://code.google.com/p/jquery-datatables-editable/issues/detail?id=32,
    and you can download the version updated here: http://code.google.com/p/jquery-datatables-editable/source/detail?r=177

    Enjoy it ! ;)
  • NJDave71NJDave71 Posts: 40Questions: 3Answers: 0
    Thank you.... :-)
This discussion has been closed.