Grid tricks Semantic UI theme
Clickable column - very simple
HIDE CODE
<?php
$xcrud = Xcrud::get_instance();
$xcrud->table('customers');
$xcrud->columns('customerName,city');
$xcrud->hide_button('edit');
$xcrud->unset_view();
$xcrud->column_pattern('customerName', '<a href="#" class="xcrud-action" data-task="edit" data-primary="{customerNumber}">{value}</a>');
$xcrud->column_width('city','20%');
echo $xcrud->render();
?>
Customers
| # | Customername | City | |
|---|---|---|---|
| 1 | La Rochelle Gifts | Nantes | Remove |
| 2 | Baane Mini Imports | Stavern | Remove |
| 3 | Mini Gifts Distributors Ltd. | San Rafael | Remove |
| 4 | Havel & Zbyszek Co | Warszawa | Remove |
| 5 | Blauer See Auto, Co. | Frankfurt | Remove |
| 6 | Mini Wheels Co. | San Francisco | Remove |
| 7 | Land of Toys Inc. | NYC | Remove |
| 8 | Euro+ Shopping Channel | Madrid | Remove |
| 9 | Volvo Model Replicas, Co | Lula | Remove |
| 10 | Danish Wholesale Imports | Kobenhavn | Remove |