Columns and fields Bootstrap 5 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
# | Customername | Phone | City | Country | |
---|---|---|---|---|---|
1 | Blauer See Auto, Co. | +49 69 66 90 2555 | Frankfurt | Germany | View Edit Remove |
2 | Mini Wheels Co.. | 6505555787 | San Francisco | USA | View Edit Remove |
3 | Euro+ Shopping Channel | (91) 555 94 44 | Madrid | Spain | View Edit Remove |
4 | Danish Wholesale Imports | 31 12 3555 | Kobenhavn | Denmark | View Edit Remove |
5 | Saveley & Henriot, Co. | 78.32.5555 | Lyon | France | View Edit Remove |
6 | Dragon Souveniers, Ltd. | +65 221 7555 | Singapore | Singapore | View Edit Remove |
7 | Muscle Machine Inc | 2125557413 | NYC | USA | View Edit Remove |
8 | Technics Stores Inc. | 6505556809 | Burlingame | USA | View Edit Remove |
9 | Handji Gifts& Co | +65 224 1555 | Singapore | Singapore | View Edit Remove |
10 | Herkku Gifts | +47 2267 3215 | Bergen | Norway | View Edit Remove |