Hi Support:
I have a custom grid with a column using a template defined like this:
col.Template("#detailTemplate").Add();
Inside the template we need to embed a rating control.'
I was testing something like this but the rating does not show:
<code>
<script type="text/x-jsrender" id="detailTemplate">
@{Html.EJ().Rating("Rating").Value(5)
.ShapeWidth(30)
.ShapeHeight(30)
.Render();
}
</code>
@{Html.EJ().Rating("Rating").Value(5)
.ShapeWidth(30)
.ShapeHeight(30)
.Render();
}
For us is important to have the rating inside a template column because we will be rendering the data as follows:
Hotel California☆☆☆☆☆
11111 Pineapple St
Orlando, FL, 161171
Thanks in advanced
David