Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Help!!! GridStyles/TableStyles
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00861594
Message ID:
00861680
Views:
19
Clay,

>I'm having problems customizing my Grid. I clicked into the TableSytles Collections and then into the GridStyles collections. I added two columns and labled the HeaderText appropriately. In runtime, I was able to get the two columns I specified, but the default column headers displayed instead of what I typed into the HeaderText property.

It sounds like you haven't set the TableStyles mapping name property. Here's what you need to do:

1. Select the DataGrid in design mode
2. Go to the Properties Window and select the TableStyles property
3. Click the ellipses button next to the TableStyles property
4. In the DataGridTableStyle Collection Editor dialog select the MappingName property to the name of the main DataTable in your business object

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

Click here to load this message in the networking platform