I corrected the setting the click event and style for the cells in the RowDataBound event and that seemed to do the trick:
sJavaScriptArg = strPostBack.Insert(strPostBack.Length - 2, i.ToString)
e.Row.Cells(i).Attributes("onclick") = sJavaScriptArg
e.Row.Cells(i).Attributes("style") += "cursor:pointer;cursor:hand;"