Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DevExpress Grid
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
00885002
Message ID:
00885209
Vues:
10
Slava,

>I have replaced the mmDataGrid with the DevExpress mmGridControl in my form. I set the BindingSource to my business object and BindingSourceMember to the datafile.DefaultView. The grid displays my data as it supposed to. Now I am trying to leave just columns that I need. There are no columns shown at the Column Designer since the dataset is not created yet. I manually added just one column, last_name. I set properties: Name – colLastName; Caption - Last Name; Field Name - last_name.
>At run time the grid keeps showing all columns.
>I tried to set the Field Name to datafile.last_name with the same result.
>In the mmDataGrid I set TableStyles - MappingName to datafile, but I don't see this property in the mmGridControl.

I think you're on the right track here...what you're seeing is similar to what you would experience if the MappingName property is empty on an mmDataGrid (which inherits this property from the .NET DataGrid base class). You might want to check the DevExpress docs to see what they're expecting here.

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
Répondre
Fil
Voir

Click here to load this message in the networking platform