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
source share