On Dec 9, 2007, at 3:26 PM, bhays wrote:
I'm using jEditable within a table that uses tableSorter. Currently, when data within the table is updated, the sorting of the table is off. Calling trigger.("update") fixes that, but I am unable to get the call to function properly at the end of an jeditable request. An example: $(".edit").editable("save.php", { height : "25", width : "110", indicator : "Saving...", tooltip : "Click to edit...", style : "inherit", select : "true" }, function(value, settings){$("table").trigger("update") }); Basically, nothing in the function is getting run..
Check this quickly. I basically did (a horrible thing ;) and decided to change api a bit. Callback is now given in options hash and not as third parameter.
http://www.appelsiini.net/2007/10/new-version-of-editable-plugin So try something like: $(".edit").editable("save.php", { height : "25", width : "110", indicator : "Saving...", tooltip : "Click to edit...", style : "inherit", select : "true", callback: function(value, settings) { $("table").trigger("update") } ); -- Mika Tuupola http://www.appelsiini.net/