Information générale
Catégorie:
The Mere Mortals .NET Framework
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.
What properties should I set?
Thanks in advance
Slava
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement