I'm using xamdatagrid vol 10.3. I have an unbound field with templated CellValuePresenter containing a custom control. When I try to group by any column of the grid, an exception is thrown. It works fine when I remove the unbound field with the custom control.
Hello Hoang,
I have been looking into your sample project and I modified it, so now it works as you want. Basically I set the UnboundField’s BindingPath Property to Series, so the Field is bound to Property from the DataSource, because this binding is used when you group by. Also I changed the Binding in the UnboundField’s CellValuePresenter’s Template because the DataContext changed. Please let me know if this helps you or you need further assistance.
Looking forward for your reply.
Thanks for taking a look at this issue Stefan. I've attached the project. In the project if you try to group by any of the fields the program will crash.
Thank you for your post. I have been looking into it but it seems like I am missing something about your scenario, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.