1

I created a lightning:datatable, and I want to disable the "hover", I add the "slds-no-row-hover" class, but it doesn't work.. here is my code..enter image description here

<lightning:datatable aura:id="tablaVariacionesCheques" id="tablaVariacionesCheques1" 
                                                            data="{!v.datosVariaciones}" 
                                                            columns="{!v.columnasVariaciones}" 
                                                            keyField="idRegistro"  
                                                            hideCheckboxColumn="true" 
                                                            resizeColumnDisabled="true" 
                                                            onrowaction="{}" 
                                                            class="slds-table--bordered slds-table--col-bordered slds-no-row-hover"
                                                            suppressBottomBar="false"
                                                            oncellchange=""
                                                            showRowNumberColumn="false"
                                                            onheaderaction=""/> 
2
  • 2
    Hi Kevin, please edit your question to post code inline as text and use the {} button to ensure it's formatted correctly. Thanks! Images aren't usable for people with screen readers and are tough on mobile. – David Reed Apr 15 '19 at 19:36
  • Hi David, I just edited it – Kevin Garcia Chavira Apr 22 '19 at 16:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.