Please note that this control has been deprecated and replaced with the Grid component, and as such, we recommend migrating to that control. This will not be receiving any new features, bug fixes will be deprioritized. For help or questions on migrating your codebase to the Data Grid, please contact support.

    Blazor Grid Highlighting

    La tabla de datos Ignite UI for Blazor / cuadrícula de datos admite la configuración de la apariencia del resaltado de filas.

    Blazor Grid Highlighting Example

    EXAMPLE
    MODULES
    DATA GENERATOR
    DATA SOURCE
    RAZOR
    CSS

    Like this sample? Get access to our complete Ignite UI for Blazor toolkit and start building your own apps in minutes. Download it for free.

    Descripción general

    El resaltado de registros en los datos de Blazor se puede alternar estableciendo la IsRowHoverEnabled propiedad booleana de la cuadrícula Blazor. Tenga en cuenta que esto está habilitado de forma predeterminada.

    Además, el color se puede configurar estableciendo la propiedad de cadena RowHoverBackground en un valor hexadecimal.

    Code Snippet

    A continuación se muestra cómo habilitar el resaltado de filas en la cuadrícula de datos de Blazor y se aplica el color azul:

    <IgbDataGrid Height="100%" Width="100%"
        DataSource="DataSource"
        IsRowHoverEnabled="true"
        RowHoverBackground="#bfbfff" />
    razor

    API References