Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Help!!! GridStyles/TableStyles
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00861594
Message ID:
00861680
Vues:
18
Clay,

>I'm having problems customizing my Grid. I clicked into the TableSytles Collections and then into the GridStyles collections. I added two columns and labled the HeaderText appropriately. In runtime, I was able to get the two columns I specified, but the default column headers displayed instead of what I typed into the HeaderText property.

It sounds like you haven't set the TableStyles mapping name property. Here's what you need to do:

1. Select the DataGrid in design mode
2. Go to the Properties Window and select the TableStyles property
3. Click the ellipses button next to the TableStyles property
4. In the DataGridTableStyle Collection Editor dialog select the MappingName property to the name of the main DataTable in your business object

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform