Nota: Este artículo fue publicado originalmente en 2011. Algunos pasos, comandos o versiones de software pueden haber cambiado. Consulta la documentación actual de .Net para la información más reciente.

Requisitos Previos

Antes de comenzar, asegúrate de tener:

  • Visual Studio or .NET CLI installed
  • .NET Framework or .NET Core SDK
  • Basic C# programming knowledge

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;

Resumen

Artículos Relacionados