protected void EmployeesGrid_CustomUnboundColumnData(object sender, DevExpress.Web.ASPxGridViewColumnDataEventArgs e)
 {
     if (e.Column.FieldName == "Total")
     {
         if (e.IsGetData)
         {
             int visibleIndex = EmployeesGrid.FindVisibleIndexByKeyValue(e.GetListSourceFieldValue("FISNO"));
             e.Value = (visibleIndex != 0) ?
                       Convert.ToDecimal(EmployeesGrid.GetRowValues(visibleIndex, "BORC")) + Convert.ToDecimal(EmployeesGrid.GetRowValues(visibleIndex, "ALACAK")) + Convert.ToDecimal(EmployeesGrid.GetRowValues(visibleIndex - 1, "Total")) :
                       Convert.ToDecimal(EmployeesGrid.GetRowValues(visibleIndex, "BORC")) - Convert.ToDecimal(EmployeesGrid.GetRowValues(visibleIndex - 1, "Total"));
         }
     }
 }
        protected void ASPxCallback1_Callback(object source, CallbackEventArgs e)
        {
            int editingRowVisibleIndex = EmployeesGrid.EditingRowVisibleIndex;

            if (editingRowVisibleIndex > -1)
            {
                string rowValue = EmployeesGrid.GetRowValues(editingRowVisibleIndex, "Aktif").ToString();
                e.Result = rowValue;
            }
            else
            {
                e.Result = "False";
            }
        }