* Set nowrap for them.

This commit is contained in:
daitingting
2018-06-01 13:29:29 +08:00
parent d581f97ec4
commit c284d78905
6 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ class datatableModel extends model
{
$fixed = $col->fixed == 'no' ? 'true': 'false';
$width = is_numeric($col->width) ? "{$col->width}px" : $col->width;
$title = isset($col->name) ? "title='$col->name'" : '';
$title = isset($col->title) ? "title='$col->title'" : '';
if($id == 'id' and (int)$width < 90) $width = '90px';
$width = "data-width='$width' style='width:$width'";
$align = $id == 'actions' ? 'text-center' : '';