Ejemplo n.º 1
0
        private void SetUnboundValue(GridViewRowInfo row, object value)
        {
            GridViewDataRowInfo gridViewDataRowInfo = row as GridViewDataRowInfo;

            if (gridViewDataRowInfo != null && this.Template != null)
            {
                this.Template.ListSource.NotifyItemChanging(row, this.column.Name);
            }
            row.Cache[this.column] = value;
            if (gridViewDataRowInfo != null && this.Template != null)
            {
                this.Template.ListSource.NotifyItemChanged(row, this.column.Name);
            }
            if (this.Template.IsUpdating)
            {
                return;
            }
            row.InvalidateRow();
        }
Ejemplo n.º 2
0
 public GridViewHierarchyRowInfo(GridViewDataRowInfo row)
     : this(row.ViewInfo)
 {
     this.Cache = row.Cache;
 }