Toast Alerts Bootstrap 4.5 theme
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 | 234 | this is a long long text | c564 | xxx@alfa.com | NYC | View Edit Remove | ||
2 | hello how ar | 456 | koh@gmail.com | London | sfas | View Edit Remove | ||
3 | saMIRA | SDSDSD | EEE | SA@GG.COM | NYC | 456 | COMkkk | View Edit Remove |
4 | xxx | sdfsdfsd | San Francisco | View Edit Remove | ||||
5 | somesdadsa | dskadsajkdasdas | dsadsadas | View Edit Remove |