[!Note] 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.
Realce de grade Web Components
A Tabela de Dados/Grade de Dados do Ignite UI for Web Components dá suporte à configuração da aparência do realce de linha.
Web Components Grid Highlighting Example
Visão geral
O realce de registros nos dados Web Components pode ser alternado definindo a isRowHoverEnabled
propriedade booleana da grade Web Components. Observe que isso é ativado por padrão.
Além disso, a cor é configurável definindo a propriedade de string rowHoverBackground
como um valor hexadecimal.
Code Snippet
O seguinte demonstra como habilitar o realce de linha na grade de dados Web Components e aplica a cor azul:
<igc-data-grid id="grid"
height="100%"
width="100%"
is-row-hover-enabled="true"
row-hover-background="#bfbfff">
</igc-data-grid>