"Approve" a record directly from the Grid with ajax-processing

I have a Grid with records that need to be approved by a user.

My idea is to place an image in a column like a check-mark. Then without opening the record, the user will click on the image.

The image then will call some ajax-processing method to update the record status as ?Approved? ? the grid must immediately refresh. The page must not resubmit.

How would I accomplish this?

Thanks

You have the answer already… use an onclick ajax event… that would do the trick.

Regards