Sets the number of columns this panel should have.
The DGrid will resize its width to match this value.