Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie: Enhancing the DataGrid
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01069412
Message ID:
01072973
Views:
31
Kevin,

>> One other thing to check...if the MappingName property of the DataGrid's TableStyleCollection doesn't match the name of the DataTable you are binding to the DataGrid, then your column settings will not appear at run time. Check the TableName property of your OrderDetail business object to make sure it matches what you have specified in the MappingName property (or vice-versa <s>)./

That solved part of the difference. I had missed setting the TableName property to OrderDetail vs. OrderDetails when creating the business object. I can see the correct code in step 7 but it isn't highlighted as something to change. Did I mess up earlier?

Now the column headers display the custom header text but they still don't display when the grid is empty. The Order grid behaves the same. Other than colors and fonts, the properties appear to be the same as the sample grid.
Greg Lee
GCL Software
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform