Inline Editing
Inline editing - single click on any cell and begin editing.
public function inline_editing()
{
$xcrud = get_xcrud();
$xcrud->table_name('Payments - Single click cell to edit!');
$xcrud->table('payments');
$xcrud->unset_remove();
$xcrud->fields_inline('customerNumber,checkNumber,paymentDate,amount');//set the fields to allow inline editing
$xcrud->unset_edit();
$xcrud->set_logging(true);
$data['content'] = $xcrud->render();
return view('demos', $data);
}