Toast Alerts
Try to edit, remove the email and save. Toast alert will be displayed. They can be activated or deactivated from config file
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->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!
# | Lastname | Firstname | Extension | Officecode | Reportsto | Jobtitle | ||
---|---|---|---|---|---|---|---|---|
1 | Gerard | Martinm | x2312 | mgerard@classicmodelcars.com | Paris | 1102 | Sales Rep | View Edit Remove |
2 | View Edit Remove | |||||||
3 | azert | berthe | totot.fr | berthe.azert@myoffice.com | San Francisco | ' | View Edit Remove | |
4 | 3432432kjkjkjk | pippo.dadmkmkma | 98898989 | pippo.dada.3432432@myoffice.com | Sydney | View Edit Remove | ||
5 | View Edit Remove | |||||||
6 | View Edit Remove | |||||||
7 | Sevilla | View Edit Remove | ||||||
8 | Fausto | Herrera | Roi_4 | herrera.fausto@myoffice.com | Sevilla | View Edit Remove | ||
9 | Herrera | Fausto | Roi_4 | faustoherrera@outlook.com | London | View Edit Remove | ||
10 | View Edit Remove |