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. Image for the cookie policy date
close icon

Hiding Rows in GGC

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

3 Replies

AD Administrator Syncfusion Team 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


DO Doug 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


AD Administrator Syncfusion Team October 31, 2006 03:56 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon