From 1b3928da6721b9cf1323cabbbc79e7dcfddec1f2 Mon Sep 17 00:00:00 2001 From: liugang Date: Tue, 31 Oct 2023 10:09:33 +0800 Subject: [PATCH] * pivot: enable the header-group plugin of data table. --- module/pivot/ui/show.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/pivot/ui/show.html.php b/module/pivot/ui/show.html.php index 114ae305b9..08e8261cb2 100644 --- a/module/pivot/ui/show.html.php +++ b/module/pivot/ui/show.html.php @@ -40,7 +40,7 @@ $generateData = function() use ($module, $method, $lang, $title, $pivot, $data, set::data($rows), set::emptyTip($lang->error->noData), set::onRenderCell(jsRaw('renderCell')), - $cellSpan ? set::plugins(array('cellspan')) : null, + set::plugins(array('header-group', $cellSpan ? 'cellspan' : null)), $cellSpan ? set::getCellSpan(jsRaw('getCellSpan')) : null, $cellSpan ? set::cellSpanOptions($cellSpan) : null )