In my opinion – columns should allow the user to set the width to -1 which causes that column to auto-fill the entire available grid (client) width.
Or perhaps on the grid itself, offer an “AutoSizeColumn” property – which would present the user with a list of all columns in the grid…The developer would pick from this list which column to auto-size (top entry being <none> of course)
Want to really get fancy?
How bout allowing percentages for column widths? That would you could identify specific pixel width for some columns while setting more-than-one column to auto-size according to their percentage setting.
Of course, this is just my opinion. I could be wrong 🙂
Imported from legacy forums. Posted by Curtis (had 5044 views)