Columns and fields Bootstrap 4.5 theme
Select only needed columns and fields
HIDE CODE
SHOW 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
Customers
# | Customername | Phone | City | Country | |
1 | Mini Gifts Distributors Ltd. | 4155551450 | San Rafael | USA | |
2 | Zbyszek Zbyszek Piestrzeniewicz | 266427555 | Warszawa | Poland | |
3 | Blauer See Auto, Co. | +49 69 66 90 2555 | Frankfurt | Germany | |
4 | Mini Wheels Co. | 6505555787 | San Francisco | USA | |
5 | Land of Toys Inc. | 2125557818 | NYC | USA | |
6 | s | | | | |
7 | Volvo Model Replicas, Co | 0921-12 3555 | Luleå | Sweden | |
8 | Danish Wholesale Imports | 31 12 3555 | Kobenhavn | Denmark | |
9 | Saveley & Henriot, Co. | 78.32.5555 | Lyon | France | |
10 | Dragon Souveniers, Ltd. | +65 221 7555 | Singapore | Singapore | |