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

Hiding Rows in GGC

Thread ID:





51183 Oct 30,2006 10:28 PM UTC Oct 31,2006 03:56 PM UTC WinForms 3
Tags: GridControl
Asked On October 30, 2006 10:28 PM UTC

I need to hide some rows in a GridGroupingControl. I'm doing this by handling the TableModel.QueryRowHeight and setting the height of the hidden rows to zero. This works fine until you vertically scroll the grid. It appears the grid is not invalidating and refreshing properly as you see duplicate and partially drawn rows. (See attached example.)

What am I doing wrong?


Administrator [Syncfusion]
Replied On October 31, 2006 04:31 AM UTC

Hi Doug,

There is no built-in support for individual rowheight in a groupinggrid. But you can do this by using the custom grouping engine. The Attached sample demonstrates the feature resizing/hiding individual rows in the grid. It also implements the IGridRowHeight interface and its routines for getting,setting and preventing row height for elements. Please find the sample below.

Here is a sample

For more details, See the ResizableRows browser sample.
Syncfusion\Essential Studio\\windows\Grid.Grouping.Windows\Samples\ResizableRows\

Let me know if you need any further assistance.
Best Regards,

Replied On October 31, 2006 03:49 PM UTC


Thanks for the information, that works well. Is there a way to replace the GridEngineFactory (or GridEngine) on an individual GGC, rather than replacing it globally? (we have a lot of grids in our application.)


Administrator [Syncfusion]
Replied On October 31, 2006 03:56 PM UTC

Sorry, I found the answer here: http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=46314


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