Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A quick note on my problems with the datagrid
Message
De
14/12/2001 10:56:57
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
A quick note on my problems with the datagrid
Divers
Thread ID:
00594443
Message ID:
00594443
Vues:
67
Some of the things that were giving me problems.

First I tried to create a New DataGridColumn Style.
You cannot do this. What you do is create a New DataGridTextBoxColumn()

I also tried to add a New GridColumnStylesCollection.
You cannot do this. And the way you add to the collection is NOT
GridColumnStylesCollection.Add(), but
DataGridTableStyle.GridColumnStyles.Add()

Also, as I said before, you need to set the DataGridTextBoxColumn to New for
every column you create.

And last but not least, you need to set the TableStyle().MappingName to ""
before setting the DataGrid.DataSource and then set the
TableStyle().MappingName back to the TableName.

Hope this information is useful!
Randy Belcher
AFG Industries, Inc.
Répondre
Fil
Voir

Click here to load this message in the networking platform