Hi
I am using XamDataGrid for displaying records.
I am trying to hide records in Initializerecords event . I want to know is there any way we can hide the Group Area iteself if all the rows in it are hidden ( in Code behind or XAML).
Thanks
Sandeep
Hello Sandeep,
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post and I suggest you iterate through all the Records and if all of them are Hidden you can hide the GroupByArea by setting XamDataGrid’s GroupByAreaLocation to None. You can read how to iterate through all Records here:
http://help.infragistics.com/NetAdvantage/WPF/2011.1/CLR4.0/?page=xamDataPresenter_Iterate_through_the_Records_Collection.html
Feel free to write me if you have further questions.