Hi there
I am currently using the RadGridView to display periodic data with the date in the column header and the value in the cells
see AdornerIssueImage1.png
The ItemsSource for the Grid is bound to a collection of view model objects that are made up of set values (Group and Category) and a collection of values. The number of values can vary so the columns for the grid are actually set up in the code behind rather than being declaratively defined in the XAML.
Each cell can have a comment associated with it which is represented by a red triangle in the top left corner of the cell. To achieve this a custom StyleSelector has been created that is assigned to the column CellStyleSelector. In the SelectStyle method a custom adorner is added to the AdornerLayer of the GridViewCell if a comment has been added. (annoyingly the SelectStyle method has to be manually called to get this happen, but that's another discussion).
see AdornerIssueImage2.png
The issue I am having is that if the rows are grouped, and there are comments applied to some of the top rows, and the group is then collapsed then the comment adorner shows in the group header of the group beneath the collapsed group.
see AdornerIssueImage3.png
Do you have any suggestions/thoughts/work arounds on this issue? or do you have a preferred way of generating the same UI.
Any help would be appreciated.
Cheers
I am currently using the RadGridView to display periodic data with the date in the column header and the value in the cells
see AdornerIssueImage1.png
The ItemsSource for the Grid is bound to a collection of view model objects that are made up of set values (Group and Category) and a collection of values. The number of values can vary so the columns for the grid are actually set up in the code behind rather than being declaratively defined in the XAML.
Each cell can have a comment associated with it which is represented by a red triangle in the top left corner of the cell. To achieve this a custom StyleSelector has been created that is assigned to the column CellStyleSelector. In the SelectStyle method a custom adorner is added to the AdornerLayer of the GridViewCell if a comment has been added. (annoyingly the SelectStyle method has to be manually called to get this happen, but that's another discussion).
see AdornerIssueImage2.png
The issue I am having is that if the rows are grouped, and there are comments applied to some of the top rows, and the group is then collapsed then the comment adorner shows in the group header of the group beneath the collapsed group.
see AdornerIssueImage3.png
Do you have any suggestions/thoughts/work arounds on this issue? or do you have a preferred way of generating the same UI.
Any help would be appreciated.
Cheers