DEMO SITE v1.7.15

Column width/cut Bootstrap 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

#ProductlineTextdescription 
1
24312
3Arnold
4asdasd
5aslkjkldjdklklsj
6Atlas
7bvcvbcb
8cxc
9dfgd
10Fiat
Search