DEMO SITE v1.7.15

Inline Editing (Enter to Save) Bootstrap 4.5 theme

Inline Editing with no button to save, Enter to save

HIDE CODE
<?php
    $xcrud = Xcrud::get_instance();
    $xcrud->table('employees');
	$xcrud->table_name('Employees - Single click cell to edit! Save by Enter only');
    $xcrud->validation_required('lastName',2)->validation_required('firstName',2)->validation_required('jobTitle');
    $xcrud->validation_required('email');
    $xcrud->validation_pattern('email','email')->validation_pattern('extension','alpha_numeric')->validation_pattern('officeCode','natural');
    $xcrud->relation('officeCode','offices','officeCode','city');
    $xcrud->limit(10);
	
    $xcrud->fields_inline('lastName,firstName,extension,email,officeCode,reportsTo,jobTitle');//set the fields to allow inline editing
    $xcrud->inline_edit_save('enter_only');// Can be 'enter_only' or 'button_only'  or 'enter_button_only'
    $xcrud->set_logging(true);
    echo $xcrud->render();
?>

Employees - Single click cell to edit! Save by Enter only

#LastnameFirstnameExtensionEmailOfficecodeReportstoJobtitle 
1FirrelliJuliex2173jfirrelli@car.comNYC1el mismo
2PattersonsssStevex43345spatterson@classicmodelcars.omBoston1143Sales Rep
3TsengFoon Yueo224ftseng@classicmodelcars.comParis1143Sales Rep
4VanaufxxxGeorge jklglgjhgx4102gvanauf@classicmodelcars.comLondon1143Sales Rep
5Bonduryıouyuıyuıx6493lbondur@classicmodelcars.comParis1102Sales Rep
6HernandezGerardx2028ghernande@classicmodelcars.comBoston1102Sales Rep
7CastilloPamelax2759pcastillo@classicmodelcars.comParis1102Sales Rep
8BottLarryx2311lbott@classicmodelcars.comLondon1102Sales Rep
9JonesBarryx102bjones@classicmodelcars.comLondon1102Sales Rep
10MarshPeterx102pmarsh@classicmodelcars.comSydney1088Sales Rep
Search