Hello to all of you,
I have a grid showing user messages that are sent to each other. The grid shows the sender's name, the title of the message, etc. I want to include a thumbnail picture of the user in the grid to make it look nicer, like this, for example
Name Title Sent
--------------------------------------------
-----
|PIC| Peter Hello 2012-8-2
-----
-----
|PIC| Sarah Hi there 2012-8-2
-----
-----
|PIC| Frank Oops! 2012-8-2
-----
I see that there is addColumn with the option 'html' but I don't get it how to populate the column. Let's assume that the thumbnail file of a user is simply 1.jpg (for user with ID 1), 2.jpg (for user with ID 2) and so on.
How would I populate the column with html like in every row like
<img src='1.jpg' height='50' width='50'>
Maybe somebody can help me here?
Best
Armin