I have a report that I have populated programmatically with data. The data in the detail section populates correctly. I recently introduced a group into the report, but when I add a field (one of the detail fields) to the new group, the field is always blank. I feel like there's some missing piece to setting the group values, but I can't find any examples online that mirror my scenario.
Here's how the report looks in the designer:
Here's the group configuration:
Here's where I'm setting the data into the table:
var table = report.Items.Find(pair.Key, true)[0] as Table;
if (table != null)
{
table.DataSource = data; // data is an List<Model>
}
The report doesn't actually group and the field in the group header is empty: