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.

GDBG - Hierarchical grid shows + when no children present

Thread ID:

Created:

Updated:

Platform:

Replies:

40117 Jan 25,2006 03:14 PM Jan 26,2006 04:56 AM Windows Forms 1
loading
Tags: GridControl
Lori S. Pearsall
Asked On January 25, 2006 03:14 PM

Is there an event that I can handle to make the display of this column accurate? I tried the CellDrawn code in one of the samples posted here (see below) but it must be firing constantly as I can barely even get my context menu to display. ------------------------------------------------- if (e.ColIndex == 1) { GridBoundRecordState state = this.Binder.GetRecordStateAtRowIndex(e.RowIndex); if (state.HasChildList && state.ChildCount == 0) { bool boolIsExpanded = this.IsExpandedAtRowIndex(e.RowIndex); this.BeginUpdate(); this.Model.SuspendChangeEvents(); this.ExpandAtRowIndex(e.RowIndex); this.CollapseAtRowIndex(e.RowIndex); this.Model.ResumeChangeEvents(); this.EndUpdate(); this.Invalidate(e.Bounds); } }

stanleyj [Syncfusion]
Replied On January 26, 2006 04:56 AM

Hi Lori, I think you are using 3.3, this bug is fixed in 4.1. Defect #872 - All rows display a plus or minus regardless of their state( i.e. no children) v4.1 final release is available for download. Please refer to the following link for more information in this regard : http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=40022 Best regards, Stanley

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.

;