DEMO SITE v1.7.15

Inline Editing (Validation) Bootstrap 4.5 theme

Inline Editing and using the normal validation and also relations

HIDE CODE
<?php
    $xcrud = Xcrud::get_instance();
    $xcrud->table('employees');
	$xcrud->table_name('Employees - Single click cell to edit!');
    $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->set_logging(true);
	
    $xcrud->fields_inline('lastName,firstName,extension,email,officeCode,reportsTo,jobTitle');//set the fields to allow inline editing
    
    echo $xcrud->render();
?>

Employees - Single click cell to edit!

#LastnameFirstnameExtensionEmailOfficecodeReportstoJobtitle 
1BondursdasGerardsx5408gbondur@classicmodelcars.comParis1056Sale Manager (EMEA)
2SBowAnthonix5428abow@classicmodelcars.comBoston1056Sales Manager (NA)
3MoellerJuliex2173jfirrelli@classicmodelcars.comBoston1143Sales Rep!
4PattersonStevex4334spatterson@classicmodelcars.comNYC1143Sales Rep
5TsengyFoon Yueo2249ftseng@classicmodelcars.comParis1143Sales Rep
6BondurLouisex6493lbondur@classicmodelcars.comParis1102Sales Rep
7HernandezGerardx2028ghernande@classicmodelcars.comParis1102Sales Rep
8CastilloPamelax2758pcastillo@classicmodelcars.comParis1102Sales Rep
9BottLarryx2311lbott@classicmodelcars.comParis1102Sales Rep
10JonesBarryx102bjones@classicmodelcars.comLondon1102Sales Rep
Search