Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
19701 | Oct 1,2004 10:00 AM UTC | Nov 4,2004 08:32 AM UTC | WinForms | 5 |
![]() |
Tags: GridControl |
public override bool IsChildVisible(Element el)
{
if (el is CaptionSection && el.ParentGroup.CatgoryKey.ToString() == "Argentina")
return false;
if (el is CaptionRow && el.ParentGroup.CatgoryKey.ToString() == "Argentina")
return false;
else if (el is DetailsSection && el.ParentGroup.CatgoryKey.ToString() == "Argentina")
return true;
// Otherwise default behavior:
return base.IsChildVisible(el);
}
The GroupingPerf example shows how to derive a class from GridEngine and register that class.
In that class you need to override the CreateGroup override.
Stefan 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.
This page will automatically be redirected to the sign-in page in 10 seconds.