I have a grid that has the groups set to fields of employee and week starting date. The user can't change these and they will always be grouped by those two fields. I want to show a custom template within the week starting date group, while leaving the initial employee group as is. The custom template would be something like "Week Starting Monday: MM/DD/YYYY Total Week Hours: XX.XXX" XX.XXX is a field already available in the query. If I add a grouprowtemplate to the week starting date column the ability to expand and collapse that group is no longer available. I did read incident Q137694 and the grouprowcontenttemplate seems to use the same template for all groupings. Is it possible to have the top group show different information than the next group? If so, do you have an example or reference. Attached is a quick snapshot of the grid with both scenarios shown.
You can add a label with any information to the GroupRowContent template. For example, your XX.XXX field, which is already available in the query.
Please, try a solution provided in issue ColumnTemplate Group.
I believe that this will allow you to resolve this issue. If not, you are welcome to post a sample project showing this issue. We will do our best to help you.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.