Grid controls within TreeViewAdv controls

I am trying to get a grid control to appear within a treeview.

It appears in the tree but is squashed down to the size of a standard node containing text.

How to I make the tree leave enough room for the grid to be completely visible?

Here is some of the code used.

TreeNodeAdv itemGroup2 = new TreeNodeAdv("Item Group 2");
trvStudy.Nodes.Add(itemGroup2);
GridControl itemGrid1 = new GridControl();
itemGroup2.CustomControl = itemGrid1;
itemGrid1.ColCount = 3;
itemGrid1.RowCount = 3;
itemGrid1[0, 0].Text = "Date";

2 Replies

AD Administrator Syncfusion Team March 14, 2007 10:04 AM UTC

I have foudn the answer now. I needed to set the height property on the node. I had been attmepting to set the height property on the control itself.


PJ Poly J Syncfusion Team March 15, 2007 07:51 AM UTC

Hi,

Thanks for the update.

Regards,
Poly

Loader.
Up arrow icon