on hover a custom class definition for List view formatter

Regular Contributor

I have been using the sample given in the GitHub for SharePoint List view formatting

However, i want to apply styles of my own

 

i have a requirement where i have to apply a class on hover of a div.

 

I have not found the example here

Is it that we have to use given classes in the page and we can't define a class inside the json.

2 Replies
Hi, you can try using the style attribute to define all the css properties for the div instead of using the default classnames.

@Sudharsan K  how do i invoke hover from style attribute