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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





13605 May 4,2004 05:30 AM UTC May 5,2004 04:49 AM UTC WinForms 2
Tags: GridControl
Asked On May 4, 2004 05:30 AM UTC

Hi I still have a refresh problem on my hierarchical grid....... I am sorry for asking again, but, it makes me depressed :) Check on our ExpandGrid in the Essential Suite Sample \ DataBound \ hierarchical \ ExpandGrid * Expand a row --> for exemple : expand 3 - Confections * Modify categoryID of the row --> for exemple : replace 3 by 33 the childs automaticly change their key value * then, clic on child rows : They disappear!!! * then, To have the right display, you need to collapse the row and expand it again! So, how to refresh it correctly? bye! THANKS AGAIN! Syl

Administrator [Syncfusion]
Replied On May 4, 2004 06:43 AM UTC

I was able to avoid this problem in expandgrid by handling these two events.
bool processedValidating = false;
private void gridDataBoundGrid1_CurrentCellValidated(object sender, System.EventArgs e)
	processedValidating = true;
private void gridDataBoundGrid1_CurrentCellMoved(object sender, GridCurrentCellMovedEventArgs e)
		GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
		int row = cc.MoveFromRowIndex;
			GridBoundRecordState rs = this.gridBinder.GetRecordStateAtRowIndex(row);
			if(rs.LevelIndex == 0 && 
				this.gridBinder.NameToColIndex("CategoryID") == cc.MoveFromColIndex)
	processedValidating = false;

Replied On May 5, 2004 04:49 AM UTC

Thanks Clay It''s working fine! Bye Sylvain


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon