I'm trying to dynamically create GridColumns using a foreach loop, but I'm running into issues with the width.
1) If the first time, the for loop renders 4 GridColumns with width 120px on a 1000px wide page, this is fine.
2) Second time, the for loop renders 15 GridColumns with width 120px on the same 1000px wide page. No horizontal scrolling bar. All the grid columns are shortened to some calculated value. and the header text is cut off with ellipsis.
I'd like the grid to create the horizontal scrollbar if there are more gridcolumns than the viewable area can support.