General information
Category:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only