JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Data Grid › allowHover only works on selected rows › Reply To: allowHover only works on selected rows
October 20, 2021 at 7:25 pm
#102452
Matias Galante
Participant
Thanks for the reply. Sorry I forgot to mention I’m using Angular 2+. Here is my code below of what I currently have for the allowHover problem:
component.ts
GridConfig = {
appearance: { alternationStart: 0, alternationCount: 2, placeholder: 'No ROI
Records', allowHover: true },
dataSource: [],
filtering: { enabled: true },
columnMenu: { enabled: false },
selection: { enabled: true, mode: 'one' },
sorting: { enabled: true },
columns: [
{ label: 'Organization', dataField: 'organization', sortOrder: 'asc' },
{ label: 'Created By', dataField: 'createdBy' },
{ label: 'Start Date', dataField: 'startDate', width: 100 },
{ label: 'End Date', dataField: 'endDate', width: 100 },
{ label: 'Status', dataField: 'status', width: 120 }
]
}