I am trying to format some cells in a Kendo grid.
Here is the code:
c.Bound(p => p.YTD).ClientTemplate("<td bgcolor=\"red\">#:YTD#</td>");
A new empty column is created in the grid next to the column that I want to change the background color.
If I use c.Bound(p => p.YTD).ClientTemplate("<strong>#: YTD #</strong>"); the alignment is correct.
Why does the td tag add a new column? How can I address this?
Thank you.