Home - Forums-.NET - FlyGrid.Net (Windows Forms) - SeparatorNode in DataBound mode (FG 1.2.11)

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

SeparatorNode in DataBound mode (FG 1.2.11)
Link Posted: 16-Feb-2006 09:20
Hi

It is  possible add SeparatorNode at runtime to filled Grid working in DataBound Mode?

My example:
    
SeparatorNode sep = new SeparatorNode("Sample");
object[] d = new object[] { "a", "b", "c" } ;
Node n = new Node(d);
sep.Items.Add(n);
table.Rows.Items.Add(sep);


I have no error or exception but table.Rows.Items.Count afer add SeparatorNode not grow, and I can't see new node.

The same sample in unbound mode work great.
Please help

Robert
Link Posted: 16-Feb-2006 11:17
No, it is not possible
You can connect your data to FlyGrid in VirtualMode, in this case you can control real count of nodes and insert SeparatorNode nodes.
Link Posted: 16-Feb-2006 21:21
Can You put any short examle?

BTW:
Where Can I find example for creating and using ICustomDrawNode?

Robert
Link Posted: 17-Feb-2006 03:28
Can You put any short examle?

I'll try to make a sample to the beginning of next week. As I've understood - in VB.Net?
Where Can I find example for creating and using ICustomDrawNode?

ICustomDrawNode example you can find in the Virtual Grid sample.
Link Posted: 17-Feb-2006 05:22
Example in C# if this is possible.