Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGridView RowCount setting very slow
Message
De
30/10/2008 09:37:57
 
 
À
30/10/2008 08:55:58
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
VB 9.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01357256
Message ID:
01358333
Vues:
28
>Is it possible to change ColumnDividerDoubleClick method so that it preforms custom resize by using only visible rows in screen ?

Hi,
For some reason this seems to work:
       void m_Grid_ColumnDividerDoubleClick(object sender, DataGridViewColumnDividerDoubleClickEventArgs e)
        {
            m_Grid.AutoResizeColumn(e.ColumnIndex, DataGridViewAutoSizeColumnMode.DisplayedCells);
            e.Handled = true;
        }
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform