Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Virtual Nodes no longer refresh the same in 1.2.8

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

Virtual Nodes no longer refresh the same in 1.2.8
Link Posted: 07-Dec-2005 05:04
I have a grid that uses virtual nodes to display custom row colors. I have a selection that will turn the colors on and off. When this occurs I execute the following code (just like the demo code)

virtualGrid.Rows.Reset();
virtualGrid.Invalidate();

This would normally cause the VirtualMode_InitNewNode event to get fired and would repaint the rows accordingly. This no longer works. I also checked the 1.2.8 demo to see if there was a different way to refresh now and it also no longer changes colors like it used to when the virtualNodesOption_CheckedChanged event is fired.

Is there another way to accomplish this and/or is there a fix in an upcoming build?

Thanks!

P.S. I love working with your grid. It is so much more intuitive than the standard Microsoft grid.
Link Posted: 07-Dec-2005 17:06
Reset method behavoir is changed to unify working in virtual and non-virtual modes, to refresh virtual-mode FlyGrid use following code construction:
[C#]
flyGrid.Rows.Reset();
flyGrid.Rows.RootNode = null;
flyGrid.Invalidate();