Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Drag and Select not working well

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Drag and Select not working well
Link Posted: 25-Apr-2007 16:12
I've made the following change in the Virtual Grid Sample (fillGridButton_Click):

#if DEBUG
            virtualGrid.Rows.Options |=  RowsOptions.ShowIndicators | RowsOptions.ShowRowHeaders ;
            virtualGrid.Columns.Options |= ColumnsOptions.ShowHeaders;
            virtualGrid.Options |= GridOptions.MultiSelect;
            virtualGrid.Options |= GridOptions.ReadOnly;
#endif

I've executed the code under a Debug so the code would kick in.
Now dragging the mouse to select cells renders random results. First, it is slooooooow. Second, sometime all cells in a rectangle get selected, sometime one is missing, on other occassions, you end up with two areas selected: the old one and the new one.

Could you look into this please?
Link Posted: 02-May-2007 20:27
This problem can appear  when some procedure cause nodes refresh  - please debug VM_xxx events in the process of dragging nodes to find the place in code that cause nodes refresh.
Link Posted: 03-May-2007 01:07
Well, it's your code. The only change I've done was to allow MultiSelect and enable ReadOnly. Since there was no response from you, I switched to SourceGrid which always renders expected results with almost same performance and no licensing related issues (see other posts on this forum).

Until this is resolved on your side, I don't intend to use your control. The speed gain is not worth the instability.