Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Refreshing Nodes

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

Refreshing Nodes
Link Posted: 14-Dec-2005 20:28
i made a button thet supposes to refersh the nodes in my flygrid tree, but when i press it nothing changes.
it changes only when i move the mouse cursor on the node itself.

how can i make it to refresh instently..?

the code is

myflygrid.refresh();
myflygrid.rows.refresh();

thanks!
Link Posted: 14-Dec-2005 21:33
If you mean refreshing nodes in the Virtual mode:
[C#]
private void RefreshNodes(FlyGrid flyGrid)
{
   //refresh nodes
  flyGrid.Rows.Reset();
  flyGrid.Rows.RootNode = null;
  flyGrid.Invalidate();
}
Link Posted: 15-Dec-2005 02:33
i put it in my code, and it works.
thank you!

guy.