How to: Hide a row in Telerik’s RadGrid

If you are looking for a way to programatically hide rows you don’t wish to show from your data source whether by triggering an event or by a condition you can do it. It’s actually pretty simple once you figure out the method exposed for you to use. Below is an example of what I did when I tried to hide a row after a command was invoke on it (like delete, edit or anything custom you come up with):

 

                    GridEditableItem editedItem = e.Item as GridEditableItem;
                    editedItem.Display = false;

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.