Following is code which will help you to get user code in your case by doing some modification
Width="600px" >
Following is jquery which gives you column id
Or check following URL:
http://www.trirand.net/examples/grid/selection/selectedrow_client/default.aspx