Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Refresh Problems

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

Refresh Problems
Link Posted: 09-Apr-2006 18:52
Hi,
i have a tree in virtual mode.
when i'm updating a row in the dateview (which is the datasource)
i use the flygrid.reset() and everting ok.
but when i'm deleting or adding rows, the wont do.
i need to rebuild to whole tree by diconnecting and reconnecting to the tree.
because of this i have to prblems:
its a waste of preformence.
when i rebuild the tree it collepses all the nodes.

i think your grid should refresh itself in a better way.

Or maybe i'm doing something wrong.

Thnaks a lot.
Guy.
Link Posted: 10-Apr-2006 04:25
Use following code construction to reset nodes to update count of rows:
[c#]
flyGrid.Rows.RootNode = null;
flyGrid.Rows.Reset();
Link Posted: 10-Apr-2006 21:07
This still does not fix my problem of all the nodes in my tree collepses
Link Posted: 11-Apr-2006 14:11
This problem is already discussed on FlyGrid support boards - please look for these threads (you can search for 'collapse' keyword) to see the recommendations and code examples.
Link Posted: 17-Apr-2006 02:00
Hi,
I couldn't fine any expamle about my problem.

please help,
thanks,
Guy.