Esempio n. 1
0
 void GridQueryColCount(object sender, GridRowColCountEventArgs e)
 {
     if (externalData != null)
     {
         e.Count = externalData.ColCount;
     }
     e.Handled = true;
 }
Esempio n. 2
0
 /// <summary>
 /// Set Col Count for the Grid
 /// </summary>
 private void m_syncGrid_QueryColCount(object sender, GridRowColCountEventArgs e)
 {
     if (m_set == null)
     {
         e.Count   = 0;
         e.Handled = false;
         return;
     }
     e.Handled = true;
     e.Count   = ((object[])m_set[0]).Length;
 }
Esempio n. 3
0
        /// <summary>
        /// Set Row Count for Grid
        /// </summary>
        private void m_syncGrid_QueryRowCount(object sender, GridRowColCountEventArgs e)
        {
            if (m_set == null)
            {
                e.Count   = 0;
                e.Handled = false;
                return;
            }

            e.Handled = true;
            e.Count   = m_set.Count;
        }
Esempio n. 4
0
 /// <summary>
 /// Used to set Row count for the Grid
 /// </summary>
 void GridQueryRowCount(object sender, GridRowColCountEventArgs e)
 {
     e.Count   = 10000;
     e.Handled = true;
 }