Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DevExpress Grid
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
00885002
Message ID:
00885224
Views:
10
Thank you Kevin for your response.
I have checked their documentation. They create a dataset at design time using a DataAdapter. A DataSource property is set to this dataset. All columns are available at design time.
I am wondering if anybody on UT uses the DevExpress grid in conjunction with business objects.

Slava

>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,
Previous
Reply
Map
View

Click here to load this message in the networking platform