3

I am using devextreme grid in my angular 5 app. When specific item is triggered the following code executes:

public setRowColor(e){
   e.rowElement.css("background-color","#d6dde7");
}

rowElement is one of the properties of row. I get the following error when this method executes:

ERROR TypeError: e.rowElement.css is not a function

Aravind
  • 40,391
  • 16
  • 91
  • 110
OjamaYellow
  • 899
  • 1
  • 13
  • 27

1 Answers1

2

Turns out this is breaking change with the new version of devextreme, so I needed to add:

import 'devextreme/integration/jquery';
OjamaYellow
  • 899
  • 1
  • 13
  • 27