DEMO SITE v1.7.15

Inline Editing (Validation) Bootstrap 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 
1TsengFoon Yueo224ftseng@classicmodelcars.comBoston1143Sales Rep
2VanaufGeorgex4102gvanauf@classicmodelcars.comNYC1143Sales Rep
3BondurLouix6493lbondur@classicmodelcars.comBoston1102Sales Rep
4CastilloPamelax2759pcastillo@classicmodelcars.comBoston1102Sales Rep
5BottLarryx2311lbott@classicmodelcars.comLondon1102Sales Rep
6JonesBarryx102bjones@classicmodelcars.comLondon1102Sales Rep
7FixterAndyx101afixter@classicmodelcars.comLondon1088Sales Rep
8MarshPeterx102pmarsh@classicmodelcars.comSydney1088Sales Rep
9KingTomx103tking@classicmodelcars.comSydney1088Sales Rep
10NishiMamix101mnishi@classicmodelcars.comTokyo1056Sales Rep
Search