[xcrud]
$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();
[/xcrud]
Customers
Customers
# |
Customername |
Phone |
City |
Country |
|
1 |
Signal Gift Stores |
7025551838 |
Las Vegas |
USA |
|
2 |
Australian Collectors, Co. |
03 9520 4555 |
Melbourne |
Australia |
|
3 |
La Rochelle Gifts |
40.67.8555 |
Nantes |
France |
|
4 |
Baane Mini Imports |
07-98 9555 |
Stavern |
Norway |
|
5 |
Mini Gifts Distributors Ltd. |
4155551450 |
San Rafael |
USA |
|
6 |
Zbyszek Zbyszek Piestrzeniewicz |
266427555 |
Warszawa |
Poland |
|
7 |
Blauer See Auto, Co. |
+49 69 66 90 2555 |
Frankfurt |
Germany |
|
8 |
Mini Wheels Co. |
6505555787 |
San Francisco |
USA |
|
9 |
Land of Toys Inc. |
2125557818 |
NYC |
USA |
|
10 |
Euro+ Shopping Channel |
(91) 555 94 44 |
Madrid |
Spain |
|