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.
Syncfusion Feedback

GGC control - URGENT

Thread ID:

Created:

Updated:

Platform:

Replies:

79661 Feb 19,2009 08:37 PM UTC Feb 23,2009 01:00 PM UTC Windows Forms 3
loading
Tags: GridControl
Anuvrat
Asked On February 19, 2009 08:37 PM UTC

Hi,

I was using this control to group in case we have elements. Sometimes none of the elements are not grouped under any heading, it still has a bar.. Is there a way to remove the bar altogether. And when the user selects some other option, the bar should come up.

For eg.
Name Age
Abc 21
Cde 21
Def 22
If we group by name there is nothing common and hence the bar should get removed.

If we group by Age the group headers should have 21 and 22 as 2 groups


Jisha Joy [Syncfusion]
Replied On February 20, 2009 10:01 AM UTC

Hi Anuvrat,

We appreciate your interest in Syncfusion Products.

I am not able to understand your query clearly. If your intension is to hide +/- cell if there is only one record in a group, then please see the follwing KB article.


http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=251

Please let me know if does not meet your requirement.

Regards,
Jisha


Administrator [Syncfusion]
Replied On February 20, 2009 03:50 PM UTC

Hi,

Thanks for the prompt response. The thing I was trying was if there is only one element is it possible to remove the bar altogether? And if we are grouping by something else it should have that bar.


Nisha Arockiya A [Syncfusion]
Replied On February 23, 2009 01:00 PM UTC

Hi Anuvrat,

Thsnks for the Update.

GroupBar.GroupBarItems propertyReturns the collection of GroupBarItems in the control.

As removing GroupBar invalidated the purpose of grouping it is not possible. Instead you can remove the +/- button for the parent with only one child as explained in the previous response.

Please let me know if this helps.

Regards,
Nisha.





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.

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

;