lonewolf32
Newcomer
- Joined
- May 3, 2006
- Messages
- 17
I am having trouble figuring out the right way to deal with column widths in a datagridview. I'll post 2 screenshots to help illustrate. The reason I am having trouble is that my grid is completely customizable in regards to which columns are displayed. The user can choose to only look at the 3 required columns, or they can look at 4, 5, 6, 7, or the full 8 columns if desired.
I do not want to use the Fill setting on the grid globally because then the columns never gets wider then the width of the grid. I do not want that because they couldn't see all the useful info.
I do not want all that "whitespace" on the right, however, when a smaller number of columns are selected, just because (am I right on this?) it looks unprofessional.
So basically I would like to see that whatever columns are selected for display, are at least as wide as the grid control, but also can be wider.
Thanks for any input.
I do not want to use the Fill setting on the grid globally because then the columns never gets wider then the width of the grid. I do not want that because they couldn't see all the useful info.
I do not want all that "whitespace" on the right, however, when a smaller number of columns are selected, just because (am I right on this?) it looks unprofessional.
So basically I would like to see that whatever columns are selected for display, are at least as wide as the grid control, but also can be wider.
Thanks for any input.