We want to display dynamic column values (e.g. if a field is a picklist, date, datetime, boolean, user picker, text, integer)
Discussion posts and replies are publicly visible
You mean to show/hide column on different condition? If that is the question you can configure that using showWhen within the a!gridField() or a!gridLayout()