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
Could you please explain a bit more. if you want multiple columns then you gridrowlayout with multiple columns. If you want a single column but diff field type for different rows then based on some values you have to set the fields via if else condition.
can you share an example for the second point you mentioned on single column?