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. Image for the cookie policy date

Problem in the Hierarchical : auto collapse on leave

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

4 Replies

AD Administrator Syncfusion Team May 17, 2005 04:45 PM UTC

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)
		e.Cancel |= CurrentCell.IsModified;


LO Lobrys May 18, 2005 08:19 AM UTC

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

AD Administrator Syncfusion Team May 18, 2005 09:11 AM UTC

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

LO Lobrys May 19, 2005 12:01 PM UTC

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

Live Chat Icon For mobile
Up arrow icon