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.

Problem in the Hierarchical : auto collapse on leave

Thread ID:

Created:

Updated:

Platform:

Replies:

29110 May 17,2005 08:54 AM May 19,2005 08:01 AM Windows Forms 4
loading
Tags: GridControl
Lobrys
Asked On May 17, 2005 08:54 AM

Hi! We use Syncfusion v3210, framework 1.1, on winXP SP2... We have an important problem on the GDBG in hierarchical mode. When you leave the grid, every line collapse! You have this bug in one of YOUR exemple, here : Essential Grid Samples > DataBound > Hierarchical > Customers Virt How to repare that? We are actually bloqued, we cant relase a new version because of that! Thank for your answer! Bye Syl

Administrator [Syncfusion]
Replied On May 17, 2005 12:45 PM

We have corrected this in our source code here. As far as avoiding the problem, deriving the grid and override OnValidate as below handled it in the sample.
public class MyGridDataBoundGrid : GridDataBoundGrid
{
	protected override void OnValidating(CancelEventArgs e)
	{
		CurrentCell.EndEdit();
		e.Cancel |= CurrentCell.IsModified;
	}
}
 

Lobrys
Replied On May 18, 2005 04:19 AM

Hi Thanks for your message I am sorry but, your code doesn''t work! Widgets around the gridDataBoundGrid cant be reached! Here is your exemple (customersVirt in VB) with your modified code : CustomersVirt VB_3063.zip thanks! Bye! Syl

Administrator [Syncfusion]
Replied On May 18, 2005 05:11 AM

Try commenting out this line. '' e.Cancel = Not (CurrentCell.IsModified)

Lobrys
Replied On May 19, 2005 08:01 AM

It''s now working! Thanks again Clay! bye syl

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.

;