Friday, February 25, 2011

Showing images in jQuery grid

For a customer project I had to show an image in a jQuery grid row.

Doing this is not very hard. Just return the HTML element as your grid column's data. The field should be something like this:

<img src=../images/sample.jpg> 
Remark: Do not use ' or " for the src, it will not work properly. 

No comments: