We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Grid controls within TreeViewAdv controls

Thread ID:

Created:

Updated:

Platform:

Replies:

57872 Mar 13,2007 08:48 AM Mar 15,2007 03:51 AM Windows Forms 2
loading
Tags: Tools
Dan Searle
Asked On March 13, 2007 08:48 AM

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";

Administrator [Syncfusion]
Replied On March 14, 2007 06:04 AM

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.

Poly J [Syncfusion]
Replied On March 15, 2007 03:51 AM

Hi,

Thanks for the update.

Regards,
Poly

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;