Skip to content

Commit 523ba97

Browse files
authored
Added support for columOptions
1 parent 579d5bb commit 523ba97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/renderers/TableRenderer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,9 @@ public function renderCellContent($column, $index)
308308

309309
$input = Html::tag('div', $input, $wrapperOptions);
310310

311-
return Html::tag('td', $input, [
312-
'class' => 'list-cell__' . $column->name,
313-
]);
311+
Html::addCssClass($column->columnOptions, 'list-cell__' . $column->name);
312+
313+
return Html::tag('td', $input, $column->columnOptions);
314314
}
315315

316316

0 commit comments

Comments
 (0)