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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

QueryHideCol doesnt seem to get called

Thread ID:





12346 Mar 26,2004 02:37 PM UTC Mar 26,2004 03:23 PM UTC WinForms 1
Tags: GridControl
Aaron Jackson
Asked On March 26, 2004 02:37 PM UTC

I have a virtual grid, built with the designer. I set all my events there including QueryCellInfo, QueryColCount, QueryRowCount, QueryRowHeight and QueryHideCol. I didn''t see an explanation in the documentation for QueryHideCols, so I took it to mean (from the docs on GridRowColHideEventArgs) that this could be used to dynamically manage which rows or columns were hidden in much the same way that data is managed through the other methods. I set a breakpoint at the first line in my method GridQueryHiddenColumns. It never gets called. So I added the same delegate to SaveCols, ran again, its never called. Is there something I must set for this event to fire or am I missing the point entirely.

Administrator [Syncfusion]
Replied On March 26, 2004 03:23 PM UTC

You are correct. QueryHideCols is not currently being fired. It was included in the origical design, but it turned out to be unuseable in conjunction with required scrollbar management. You just could not dynamically hide columns on demand and still maintain the integrity of the scrollbars as they also would have to change dynamically. We will mark it as obsolete and eventually remove it from the code. The same is true for QueryHideRows.


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

Live Chat Icon For mobile
Live Chat Icon