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

Hide empty nested table on a GDC

Thread ID:





102695 Feb 22,2012 11:12 AM UTC Feb 27,2012 10:04 AM UTC ASP.NET Web Forms (Classic) 2
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On February 22, 2012 11:12 AM UTC


I have a some problems to hide empty nested tables in a GDC.

I have a GDC which i fill with a DataSet, which have 4 tables and 3 relations. Its work like a treeNode and it looks fine.
The first table contains the "root", as some kind of parent item, and the following tables the childs.
Each relation is like a treeNode, so the first table have a relation to the second and the second to the third table and so on.

But now i have the problem, that rows, which have no children, show empty tables.
I tryed a lot, to solve this problem... codesnipes like:

public class GroupingChildTable : GridChildTable, IGridGroupOptionsSource
public GroupingChildTable(Syncfusion.Grouping.Element parent)
: base(parent)
{ }
public override int GetVisibleCount()
if (this.Details == null || this.Records.Count == 0)
return 0;
return base.GetVisibleCount();

But there i get a error, and he cant finde my Namespeace anymore. God knows why?

I also tryed to set the CellType on "static", but dindt realy find a beginning... just:


But there i cant set the type on "static". And i dont wont to set the hole column on "static" just a single cell or row.

looking forward to get some help.


Administrator [Syncfusion]
Replied On February 22, 2012 11:17 AM UTC

Ah sry, wrong Forum. I want to post on the WPF Forum.


Ramesh V [Syncfusion]
Replied On February 27, 2012 10:04 AM UTC

Hi Zigzag,

Thank you for your update.



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