Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Binding with DevExpress Grid
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00995375
Message ID:
00997102
Views:
13
>Pat,
>
>>I can get the data binding to work but I can't seem to set just the columns I want to show. I always get the full list of columns from the business object. How do I set the columns? There is no tablestyle option and setting it within the Dev Express grid doesn't appear to do anything.
>
>Did you follow the instructions in the Developer's Express docs for creating columns in the grid? If you can get an out-of-the-box DevExpress grid displaying columns properly then it should work the same way for the MM .NET subclass.
>
>Regards,


I was able to get the grid to populate with the proper defined columns using the instructions from DevExpress via creation of an oledataadapter, connection, and dataset that is on the form.

When I remove those links and reset the mmGridControl to use bindingsource of the class, I lose the column definitions and get the entire table from the class without the custom headers, etc.

Maybe I am missing how this is supposed to be setup within Mere Mortals.

Could you give me a quick run down on what properties need to be set in the mmGridControl? I was under the assumption that I dont' need the dataAdapter,etc on the form and should just set the bindingsource (to the class) and bindingflag (set to true). Is there something else that needs to be set?

Thanks...this has been messing me up all week. It should be pretty simple but I just can't seem to get it to work.

Pat.
Patrick L. Stovall
Senior Architect/Developer
MCP - C#

VeroQuest
P.O.Box 7216
Kalispell, MT 59904
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform