1

UNboundColumn
新しい値が GridControl の unboundColumn に入力されたときに必要です。同じ値を同じ行の次の列に表示する必要があります (その列は unboundCOlumn ではありません)。

if (e.IsSetData)
            {
                if (e.Column.FieldName == "Total")
                {
                    if (unboundLocalCurriency.ContainsKey(e.ListSourceRowIndex))
                    {
                        unboundLocalCurriency[e.ListSourceRowIndex] = e.Value;
                    }
                    else
                    {
                        unboundLocalCurriency.Add(e.ListSourceRowIndex, e.Value);
                    }
                }

            if (e.IsGetData)
            {
                if (e.Column.FieldName == "Total")
                {
                    if (unboundLocalCurriency.ContainsKey(e.ListSourceRowIndex))
                    {
                        e.Value = unboundLocalCurriency[e.ListSourceRowIndex];
                    }
                }

            }
4

1 に答える 1