Can Ajax Be Used On Cgridview Column

My cgridview has two columns ptid and mid. What i need to know is, can ajax be used on cgridview column? Can i use onmouseover and onmouseout functions? On the onmouseover event each mid values should be retrieved from db with an ajax call. Can this be done and if so, how? Are there any code examples available i could use?

My output for cgridview is following

ptid mid

1 1

2 2

1 10