0

So I got this weird problem.. in IE and google chrome this works perfectly and all background colours in view formatting works. But when i'm in Microsoft Edge it will only display the background color of an object when i'm hovering over the object with my mouse..

In microsoft edge, only show green when hovering over with mouse: enter image description here

In google chrome and IE it works perfectly, should show backgroundcolor at all time: enter image description here

Code:

    {
  "schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
  "additionalRowClass": "=if([$Status] == 'Inte tilldelad', 'sp-css-backgroundColor-blockingBackground50', if([$Status] == 'Tilldelad', 'sp-css-backgroundColor-warningBackground30', if([$Status] == 'Pågående', 'sp-css-backgroundColor-warningBackground', if([$Status] == 'Tekniker klar', 'sp-css-backgroundColor-successBackground50',if([$Status] == 'Överlämnat', 'sp-css-backgroundColor-successBackground50', if([$Status] == 'Tilldelad', 'sp-css-backgroundColor-warningBackground30', if([$Status] == 'Pågående', 'sp-css-backgroundColor-warningBackground', if([$Status] == 'Att göra', 'sp-css-backgroundColor-blockingBackground50', if([$Status] == 'Tilldelad', 'sp-css-backgroundColor-warningBackground30', if([$Status] == 'Pågående', 'sp-css-backgroundColor-warningBackground', if([$Status] == 'Att göra', 'sp-css-backgroundColor-blockingBackground50', ''))"
}

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.