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
# | Productline | Textdescription | |
---|---|---|---|
1 | asdfafdsa | View Edit Remove | |
2 | jfgjfgh | View Edit Remove | |
3 | 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 |
4 | ssssssssssssssssssssssssssss | View Edit Remove | |
5 | ssssssssssssssssssssssssssss1 | View Edit Remove | |
6 | test 1 | View Edit Remove |