Img field in subgrid


I am implementeing subgrids in my grid and have a column of type IMG in the subgrid. I want to delete the row in subrid when I click the image in the subgrid.

Please suggest as to how I can perform this.


In the “img” column corresponding cell value in XML should be a “^” delimited list of following values:
1st - image src
2nd - image alt text (optional)
3rd - link (optional)
4rd - target (optional, default is _self)

some.gif^alte text
some.gif^alt text^^_blank
some.gif^alt text^javascript:doSomething()^_self

Sor you can use 4rd parameter to set function which will delete row from sub grid