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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GDBG - Hierarchical grid shows + when no children present

Thread ID:





40117 Jan 25,2006 08:14 PM UTC Jan 26,2006 09:56 AM UTC WinForms 1
Tags: GridControl
Lori S. Pearsall
Asked On January 25, 2006 08:14 PM UTC

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 09:56 AM UTC

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


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