Hi i have use the following code snippet in js render template.
"<td class={{if IsSelected}}" + "e-rowcell e-selectionbackground" + "{{else}}e-rowcell{{/if}}>"
In this case e-selectionbackground did not add to the Class if rendered data contains IsSelected as true.
How to resolve this problem
Looks like you don't have quotes around the class. It needs to be:
or