Esempio n. 1
0
 public override DataT GetRowValue(long row)
 {
     Update();
     if (m_rowIndex == null)
     {
         //act as passthrough
         return(column.GetRowValue(row));
     }
     else if (row < m_rowIndex.Length && m_rowIndex[row] >= 0)
     {
         return(column.GetRowValue(m_rowIndex[row]));
     }
     else
     {
         return(default(DataT));
     }
 }
Esempio n. 2
0
        public override string GetRowValueString(long row)
        {
            if (vc.m_IsDisplayMergedOnly)
            {
                return("");
            }
            long r = GetRow(row);

            if (r >= 0)
            {
                return(column.GetRowValue(r).ToString());
            }
            else
            {
                return("N/A");
            }
        }
Esempio n. 3
0
 public override string GetRowValueString(long row)
 {
     if (vc.m_IsDisplayMergedOnly)
     {
         return("");
     }
     Update();
     if (m_rowIndex == null)
     {
         //act as passthrough
         return(column.GetRowValue(row).ToString());
     }
     else if (row < m_rowIndex.Length && m_rowIndex[row] >= 0)
     {
         return(column.GetRowValue(m_rowIndex[row]).ToString());
     }
     else
     {
         return("N/A");
     }
 }
Esempio n. 4
0
        public override DataT GetRowValue(long row)
        {
            long r = GetRow(row);

            if (r >= 0)
            {
                return(column.GetRowValue(r));
            }
            else
            {
                return(default(DataT));
            }
        }