In many use cases, the columns have a standard width and you want display to fill the available width.
This a achieved by setting the columnWidth attribute to the number of pixels.
Column count:
columnWidth:
Element 1
Element 2
Element 3
Element 4
Element 5
Element 6
Element 7
There are gaps at the sides, how do I get the columns to fill the entire container?
The best way to do that is not use columnWidth, but to set the columns based on a screen width.