Skip to content
Snippets Groups Projects
Commit c6fbc1bb authored by Mike Feranda's avatar Mike Feranda Committed by Mike Feranda
Browse files

Issue #3246533 by mferanda: Add code to ignore "field" for aggrid config on header loop

parent 000fb7fd
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,8 @@ class AggridConfigHelpers {
$columns[1][$colIndex][$colIndex]['viewHide'] = true;
}
// Set the field if available.
if (isset($column->field)) {
// If no children, set the field if available.
if (!isset($column->children) && isset($column->field)) {
$headers[] = $column->field;
$columns[0][$column->field] = [];
$columns[0][$column->field]['viewHide'] = $columns[1][$colIndex][$colIndex]['viewHide'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment