Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Thomas

Inline Edit Action?

Is there any way to run another inline edit after an inline edit?

example: A value for Square Footage is changed inline. Upon clicking the checkmark, I would like to take that new Square Footage value and run it through an AJAX function to calculate Square Meterage and then update the Square Meterage field automatically / inline.

Thanks!

7 years ago
Stefan van den Dungen Gronovius
Developer

Hi Thomas,

I think the ‘acp/editing/saved’ action is what you need.


/**
* @param $colum AC_Column
* @param $id int
* @param $value mixed
*/
function acp_after_inline_edit_save( $colum, $id, $value ) {
// Do some extra things after the value is saved with inline edit
}

do_action( 'acp/editing/saved', 'acp_after_inline_edit_save' );

7 years ago

You must be logged in to reply to this topic.