Columns and fields Default theme
Select only needed columns and fields
HIDE CODE
1 2 3 4 5 6 7 | <?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
Add Export into CSV Print Search
# | Customername | Phone | City | Country | |
---|---|---|---|---|---|
1 | Signal Gift Stores | 7025551838 | Las Vegas | USA | View Edit Remove |
2 | La Rochelle Gifts | 40.67.8555 | Nantes | France | View Edit Remove |
3 | Baane Mini Imports | 07-98 9555 | Stavern | Norway | View Edit Remove |
4 | Mini Gifts Distributors Ltd. | 4155551450 | San Rafael | USA | View Edit Remove |
5 | Havel & Zbyszek Co | (26) 642-7555 | Warszawa | Poland | View Edit Remove |
6 | Blauer See Auto, Co. | +49 69 66 90 2555 | Frankfurt | Germany | View Edit Remove |
7 | Mini Wheels Co. | 6505555787 | San Francisco | USA | View Edit Remove |
8 | Land of Toys Inc. | 2125557818 | NYC | USA | View Edit Remove |
9 | Euro+ Shopping Channel | (91) 555 94 44 | Madrid | Spain | View Edit Remove |
10 | Volvo Model Replicas, Co | 0921-12 3555 | Luleå | Sweden | View Edit Remove |
?>