Custom format data after live update

Make
$grid->enable_live_update('actions');

Get data, no formatter
function custom_format($item)
{

}
$grid->event->attach("beforeRender", "custom_format");

Update row nospecial formatted

add update.php to function

public function to_xml(){

// Data might have been changed by beforeRender event, so update child with correct data
$this->child->data = $this->data;

thank you for participating