i m using stringgrid in my application.The data is fetched from the database(backend mysql) and displayed in stringgrid.

I want to insert image in status cell of each row.
i.e.
if status =online then -->image1
else --->image2
anyone has any idea regarding how to do this?
You will have to implement the OnDrawCell event.
Example :