Labels and classes Default theme

Label() method will change all field names in all screens, column_name() - only grid headers.

<?php
	$xcrud = Xcrud::get_instance();
    $xcrud->table('employees');
    $xcrud->label('lastName','Surname');
    $xcrud->label('firstName','Name');
    $xcrud->label('officeCode','Office code')->label('reportsTo','Reports to')->label('jobTitle','Job title');
    $xcrud->column_name('firstName', 'NaMe!'); // only column renaming
    $xcrud->column_class('extension','align-center font-bold'); // any classname
    // predefined classnames: align-left, align-right, align-center, font-bold, font-italic, text-underline
    echo $xcrud->render();
?>

Employees

#SurnameNaMe!ExtensionEmailOffice codeReports toJob title 
1MurphyDianex5800dmurphy@classicmodelcars.com58President
2PattersonMar'yx4611mpatterso@classicmodelcars.com11002VP Sales
3FirrelliJeffx9273jfirrelli@classicmodelcars.com11002VP Marketing
4PattersonWilliamx4871wpatterson@classicmodelcars.com61056Sales Manager (APAC)
5BondurGerardx5408gbondur@classicmodelcars.com41056Sale Manager (EMEA)
6BowAnthonyx5428abow@classicmodelcars.com11056Sales Manager (NA)
7JenningsLesliex3291ljennings@classicmodelcars.com11143Sales Rep
8ThompsonLesliex4065lthompson@classicmodelcars.com11143Sales Rep
9FirrelliJuliex2173jfirrelli@classicmodelcars.com21143Sales Rep
10PattersonStevex4334spatterson@classicmodelcars.com21143Sales Rep
Add Export into CSV PrintSearch

 
Buy it nowfor only $13