Sorting GetSortBy()
        {
            MatrixEntry me = null;

            foreach (MatrixEntry m in this.HashData.Values)
            {   // just get the first one
                me = m;
                break;
            }
            if (me == null)
            {
                return(null);
            }

            Sorting sb = null;

            if (me.RowGroup != null)
            {
                if (me.RowGroup.DynamicRows != null)
                {
                    sb = me.RowGroup.DynamicRows.Sorting;
                }
            }
            else if (me.ColumnGroup != null)
            {
                if (me.ColumnGroup.DynamicColumns != null)
                {
                    sb = me.ColumnGroup.DynamicColumns.Sorting;
                }
            }
            return(sb);
        }
        Rows _Data;                                 // set dynamically when needed

        internal MatrixEntry(Row r, string hash, MatrixEntry p, int rowCount)
        {
            _r           = r;
            _hash        = hash;
            _HashData    = new Dictionary <string, MatrixEntry>();
            _ColumnGroup = null;
            _RowGroup    = null;
            _SortedData  = null;
            _Data        = null;
            _rowCount    = rowCount;
            _Rows        = null;
            _Parent      = p;
            _FirstRow    = -1;
            _LastRow     = -1;
        }
Beispiel #3
0
 internal MatrixEntry ME;                    // Used at runtime to contain data values
 internal WorkClass()
 {
     ME = null;
 }
Beispiel #4
0
        internal void SetME(Report rpt, MatrixEntry me)
        {
            WorkClass wc = GetWC(rpt);

            wc.ME = me;
        }