} else if (child instanceof Columns) {
Columns tableColumns = (Columns) child;
List<DynamicColumn> dynamicColumns = tableColumns.toColumnList(context);
columns.addAll(dynamicColumns);
} else if (child instanceof ColumnGroup) {
ColumnGroup tcg = (ColumnGroup) child;
columns.addAll(getColumnsFromList(context, tcg.getChildren()));
}
}
return columns;
}