* Finish task#8769.

This commit is contained in:
qiyu-xie
2020-12-24 16:59:34 +08:00
parent 8f808b445f
commit fda220ed36
10 changed files with 47 additions and 33 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ class datatableModel extends model
$id = $col->id;
if($col->show)
{
$fixed = $col->fixed == 'no' ? 'true': 'false';
$fixed = $col->fixed == 'no' ? 'true' : 'false';
$width = is_numeric($col->width) ? "{$col->width}px" : $col->width;
$title = isset($col->title) ? "title='$col->title'" : '';
$title = (isset($col->name) and $col->name) ? "title='$col->name'" : $title;