DEMO SITE v1.7.15

Columns and fields Default theme

Select only needed columns and fields

HIDE CODE
<?php
	$xcrud = Xcrud::get_instance();
    $xcrud->table('customers');
    $xcrud->columns('customerName,phone,city,country'); // columns in grid
    $xcrud->fields('customerName,creditLimit,salesRepEmployeeNumber'); // fields in details
    echo $xcrud->render();
?>

Customers

#CustomernamePhoneCityCountry 
1cocacola2
2Mini Wheels Co.6505555787San FranciscoUSA
3Land of Toys Inc.2125557818NYCUSA
4fdfgdfgdfg
5Volvo Model Replicas, Co0921-12 3555LuleåSweden
6Danish Wholesale Imports31 12 3555KobenhavnDenmark
7Saveley & Henriot, Co.78.32.5555LyonFrance
8Dragon Souveniers, Ltd.35999844815SingaporeSingapore
9Muscle Machine Inc2125557413NYCUSA
10Diecast Classics Inc.2155551555AllentownUSA
Add Export into CSV Print
Search