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

Hiding Rows in GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

51183 Oct 30,2006 10:28 PM UTC Oct 31,2006 03:56 PM UTC Windows Forms 3
loading
Tags: GridControl
Doug
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?

GGC_HideRows.zip

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
http://www.syncfusion.com/Support/user/uploads/GGcHideRows_5a1cc02c.zip

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

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

Doug
Replied On October 31, 2006 03:49 PM UTC

Haneef,

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.)

Doug

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

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

;