Kendo Ui Grid And Ng-style
I have a Kendo UI Grid in angular which is reading from my datasource a series of properties. One of them contains a color string. I want to use said color string to set the backgr
Solution 1:
Found out the issue. ng-style needs to be formatted differently because it is being passed as a string to kendo.
template: "<img class='alarm-box-prediction variable' ng-style=\"{'background-color':dataItem.type}\"></img>",
Post a Comment for "Kendo Ui Grid And Ng-style"