Display images in a kendo grid column

the grid does not display anything, this is the code in the javascript method

columns: [ { field: "Dimension", title: "Mois", width: "130px" }, { field: "Value", title: "Variation CA", width: "130px"}, { field: "Value", title: "", width: "30px", template: '# if (Value >= 0 ) { # <img src="~/Images/uparrow.jpg" /> # } else # { <img src="~/Images/downarrow.jpg" #}#' } ] }); 

I can fix the problem, the grid does not display anything, any suggestions please? how can i display imaes in a column using the if condition

+1
source share

Source: https://habr.com/ru/post/973040/


All Articles