Column width/cut Default theme
You can set width for any column(s) in a grid.
HIDE CODE
<?php $xcrud = Xcrud::get_instance(); $xcrud->table('productlines'); $xcrud->columns('productLine,textDescription'); $xcrud->column_width('textDescription','80%'); $xcrud->column_cut(250,'textDescription'); echo $xcrud->render(); ?>
Productlines
Add Export into CSV Print
- 1
- 2
# | Productline | Textdescription | |
---|---|---|---|
1 | 1 | Unique, diecast airplane and helicopter replicas suitable for collections, as well as home, office or classroom decorations. Models contain stunning details such as official logos and insignias, rotating jet engines and propellers, retractable | View Edit Remove |
2 | 12 | Test | View Edit Remove |
3 | H | View Edit Remove | |
4 | Motorcycles | Our motorcycles are state of the art replicas of classic as well as contemporary motorcycle legends such as Harley Davidson, Ducati and Vespa. Models contain stunning details such as official logos, rotating wheels, working kickstand, front | View Edit Remove |
5 | Planes | Unique, diecast airplane and helicopter replicas suitable for collections, as well as home, office or classroom decorations. Models contain stunning details such as official logos and insignias, rotating jet engines and propellers, retractable | View Edit Remove |
6 | Ships | The perfect holiday or anniversary gift for executives, clients, friends, and family. These handcrafted model ships are unique, stunning works of art that will be treasured for generations! They come fully assembled and ready for display in the home | View Edit Remove |
7 | Test | View Edit Remove | |
8 | Trains | Model trains are a rewarding hobby for enthusiasts of all ages. Whether you're looking for collectible wooden trains, electric streetcars or locomotives, you'll find a number of great choices for any budget within this category. The interactive | View Edit Remove |
9 | trucks | r | View Edit Remove |
10 | Trucks and Buses | The Truck and Bus models are realistic replicas of buses and specialized trucks produced from the early 1920s to present. The models range in size from 1:12 to 1:50 scale and include numerous limited edition and several out-of-production vehicles. | View Edit Remove |
?>