I'd like to use the render function in the grid widget to show an icon instead of plan text, making it more appealing to a user.
could'nt find anything similar in the examples nor in previous items on the forum/.
i suppose it should look like someting here
PHP Code:
function (v,rec; filters) if (v == 'ACTION') { return '<img src="images/action.png" />'; } else { return <img src="images/something else.png" />'; }
if yes, where (on which folder) on the ifs should i save those icons? and are there some best practices about the size and type to be used that works in combination with the grid-widget?
thx in advance
Comment