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.

How to hide a row based on cellvalue?

In order to hide a particular row based on the Cellvalue, QueryRowHeight can be used. Please refer to the below code snippet. The record can be gained by using from the DisplayElement collection. Then the record’s value can be cached from GetValue method.

The matched search text of the record can be set to zero using the Size property to hide the record.

C#

 

 

VB

Screenshot

Before

 

After

Sample

C#: HideRow_CS

VB: HideRow_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
5943 01/03/2016 02/08/2017 Windows Forms GridGroupingControl
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.