Grid Column Template with more than one image

Hi,
the examplehttps://aspnetmvc.syncfusion.com/Grid/ColumnTemplate#/material shows how to add an image to a column using the ${EmployeeId} reference.
Is it somehow possible to add more than one image e.g. when ${EmployeeIds} is an array of image names?
Cheers,
Jonas

2 Replies

JZ Jonas Züger April 25, 2018 03:09 PM UTC

o.k. I got it now.

<script type="text/x-jsrender" id="ImageResourceNamesTemplate">
    ${for(item of Images)}
    <span>${item.Name}</span> 
    ${/for}
</script>

did the trick.

Cheers,
Jonas


JP Jeevakanth Palaniappan Syncfusion Team April 26, 2018 12:25 PM UTC

Hi Jonas, 
 
We are happy to know that your query has been resolved. Please get in touch with us if you would require any further assistance. 


Regards, 
Jeevakanth Palaniappan. 


Loader.
Up arrow icon