This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, I'm getting a crash when re-sizing the first column and dragging the re-sizing line all the way to the right past the datagrid. I haven't been able to reproduce it outside my project however I have attached a Word document with the exception detail and also include two images of the grid before the crash and after the crash. I have the datagrid so that the columns fill the entire datagrid. Thank you Oscar |
|
|
Hello, I have additional info. I hooked up your code and found the crash happens in DataGridColumnHeader.cs in method UpdateStarSizes(double newWidth) because the index value become -1 in the code int index = DataGrid.EffectiveColumns.IndexOf(Column); Please see attached image which show may actual debug session in VS. The Try/Catch was added by me. Also I found that by dragging vertical bar for first column and resizing, this causes the horizontal scroll bar to show up. The first column causes the crash. But dragging vertical bar for second column and resizing it DOES NOT cause the horizontal scroll bar to show up. The second column does not seem to cause the crash. Also see attached Word document for the scroll bar and no scroll bar images. Thanks Oscar |
|
|
Hi Oscar, Thanks for all the information about this crash. I also was unable to reproduce it. I have included a fix around the code you pointed out to at least avoid the exception. This possible fix will be available in the next nightly build. -Jason Fauchelle |
|