* pivot: enable the header-group plugin of data table.

This commit is contained in:
liugang
2023-10-31 10:09:33 +08:00
parent 8fb965ddad
commit 1b3928da67
+1 -1
View File
@@ -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
)