Hi,
I'm using a DataGridView in a Windows Forms application. I have AllowUserToResizeColumns set to true. I am setting the DataSource to an instance of my own class that is derived from BindingList<object> that implements sorting. I am setting the the columns ReadOnly to true as well as the ReadOnly property of the DataGridView itself.
The grid fills perfectly and allows columns to be moved and/or sorted, but they cannot be resized by the user, and I cannot figure out what is causing this and how to fix it. They are auto-sized to the data to begin with, but the user ought to be able to resize them as they desire. There is one column (the non-column before the first column) that works as I would expect, allowing user resizing. All of the columns with data do not allow the user to resize them.
I would certainly appreciate if anyone could point me in the right direction.
Thanks in advance,
Chris