As you move the cursor along the column headings it will be a hand (mostly) except for the end of the very last column where it will change to a resize. I have seen it once or twice switch to the resize cursor but not very often and I have not been able to pinpoint when it decides to change.
It’s this line:
this.dataGridView1.AutoSizeColumnsMode = Wisej.Web.DataGridViewAutoSizeColumnsMode.AllCells;
Set it to None. When columns are auto sized they are not resizable. Only the Fill is implemented now, all the other modes are completed but still not in since there are a couple of timing issues.
Thanks for the video – that is how I was expecting it to work but other than the left hand side of the first column and the far right hand side of the last column the cursor stays as hand (even though I can resize).
I tried changing the LiveResize property but it does not effect what I’m seeing except that as I move left to right the first time the cursor does (sometimes) change to resize.
I’ve attached a simple sample that for me at least has the problem to see if that helps.
The behavior should be this:
See small screencast using Tiago’s last sample. I set dataGrid1.LiveResize = true.
Please login first to submit.