Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
795
grouping problem on optional nested properties
posted

When binding to data from a WCF Data Service (aka oData), you often end up wanting to bind to nested properties on sub-objects that have been been "Expanded" into the main object:

<ig:TextColumn Key="SrvItem.SrvService.AccountID" />

The SrvItem object will either be null or a fully populated object with all its sub-objects also populated - the binding mechanism is smart enough to deal with nulls anywhere along the path - but when you go to group by the column, the grid throws an exception - presumably because that mechanism isn't smart enough to deal with nulls anywhere along the path.  It would be nice if this could be fixed.