* adjust for batchcreate page.

This commit is contained in:
wangyidong
2018-04-13 09:36:34 +08:00
parent de2cedd799
commit 579cae8b25
6 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ class datatableModel extends model
$width = is_numeric($col->width) ? "{$col->width}px" : $col->width;
$title = isset($col->name) ? "title='$col->name'" : '';
if($id == 'id' and (int)$width < 90) $width = '90px';
$width = $id != 'actions' ? "data-width='$width' style='width:$width'" : '';
$width = "data-width='$width' style='width:$width'";
echo "<th data-flex='$fixed' $width class='c-$id' $title>";
if($id == 'actions')