I have an array of type Customer (custom type, result of WCF service) and I bind it to the xamDataGrid but I don't want to show all properties of this type. I tried to set it through tag Field in xaml but doesn't work.
my question is:Is possible to set fields in xaml to show the fields that i want of an array of custom type?
When I get nothing, it usually means I've made a mistake on one or more fields. My suggestions:
1. Try it with just one simple field that you know is there and then expand on it.
2. Watch the output window for binding errors. If an error occurs on any single field, that field layout is not selected.
3. Specify the actual field layout to use. Any binding errors will be raised and obvious. There are postings here about doing that.
Yes it is. Check this out: http://help.infragistics.com/Help/NetAdvantage/WPF/2008.1/CLR3.X/html/xamDataGrid_Changing_the_Visible_Fields.html
Josh