protected void ASPxGridView1_HtmlDataCellPrepared(object sender, ASPxGridViewTableDataCellEventArgs e)
    {
        if (e.VisibleIndex < 0)
        {
            return;
        }

        string comment = CommentsStorage.Get(e.KeyValue, e.DataColumn.FieldName);

        if (!string.IsNullOrEmpty(comment))
        {
            e.Cell.Attributes["data-comment"] = comment;
            e.Cell.CssClass += " comment";
        }

        e.Cell.CssClass += " cellrel";
        e.Cell.Attributes["onmouseover"]   = "Cell_OnMouseOver(this);";
        e.Cell.Attributes["oncontextmenu"] = string.Format("Cell_OnContextMenu(this, '{0}', '{1}')", e.DataColumn.FieldName, e.KeyValue);
    }