예제 #1
0
 public override string GetRowValueString(long row, IDataFormatter formatter)
 {
     if (vc.m_IsDisplayMergedOnly)
     {
         return("");
     }
     Update();
     if (m_rowIndex == null)
     {
         //act as passthrough
         return(column.GetRowValueString(row, formatter));
     }
     else if (row < m_rowIndex.Length && m_rowIndex[row] >= 0)
     {
         return(column.GetRowValueString(m_rowIndex[row], formatter));
     }
     else
     {
         return("N/A");
     }
 }
예제 #2
0
        public override string GetRowValueString(long row, IDataFormatter formatter)
        {
            if (vc.m_IsDisplayMergedOnly)
            {
                return("");
            }
            long r = GetRow(row);

            if (r >= 0)
            {
                return(column.GetRowValueString(r, formatter));
            }
            else
            {
                return("N/A");
            }
        }