I have a grid where the columns don't align properly with the header of the grid and also the grid unnecessarily has a horizontal scrollbar where it's not needed.
1)How can I make the scrollbar appear when there are more columns and not when there are one or two columns?
2)How to make the alignment in sync ?