I have a datagrid bound to a collection. Everything is working great, but when I click the header to sort (sorting is enabled in XAML, and I have a reference to the full suite of syncfusion controls) I get this error:
Message=Object reference not set to an instance of an object.
at Syncfusion.Linq.QueryableExtensions.GetLambdaWithComplexPropertyNullCheck(IQueryable source, String propertyName, ParameterExpression paramExpression)
PSPrakash Selvaraj Syncfusion Team April 10, 2013 11:50 AM UTC
Sorry for this inconvenience caused.
We have analysed your query. We suspect that
you are missing the MappingName property in GridColumn or it has not set
properly. To enable the sorting, grouping and filtering in DataGrid you must
provide the MappingName to the GridColumn. After setting MappingName correctly
if this issue still persists at your end then, please provide us a sample with
replication procedure. So that we can able to rectify your problem.
Please let us know if you need further
GPGary PansinoApril 10, 2013 11:12 PM UTC
That was exactly it. Thanks for another excellent example of Syncfusion's great customer service.
PSPrakash Selvaraj Syncfusion Team April 24, 2013 09:11 AM UTC
Thank you for your feedback, Please let us know if you have