I want to add an image to parent row depending on the value in child row.
Below is my main grid and template code
If FeedBackForm.FeedBackQA[i].Answer is not null I need image on parent row
find complete code attached.
Please guide
.ClientDetailTemplateId("template")
<script id="template" type="text/kendo-tmpl">
<div>
<div class="feedbackQuestion">
# for (var i = 0; i < FeedBackForm.FeedBackQA.length; i++) { #
<ul>
<li>#= FeedBackForm.FeedBackQA[i].Question # <span class="feedbackanswer"> #= FeedBackForm.FeedBackQA[i].Answer #</span></li>
</ul>
# } #
</div>
</div>
</script>
Below is my main grid and template code
If FeedBackForm.FeedBackQA[i].Answer is not null I need image on parent row
find complete code attached.
Please guide
.ClientDetailTemplateId("template")
<script id="template" type="text/kendo-tmpl">
<div>
<div class="feedbackQuestion">
# for (var i = 0; i < FeedBackForm.FeedBackQA.length; i++) { #
<ul>
<li>#= FeedBackForm.FeedBackQA[i].Question # <span class="feedbackanswer"> #= FeedBackForm.FeedBackQA[i].Answer #</span></li>
</ul>
# } #
</div>
</div>
</script>