Home Forums WinForms controls Xceed Grid for WinForms Grouping problem Reply To: Grouping problem

Xceed Support
Member
Post count: 5658

For 3, it would be possible, but you would need to add an invisible row before. The problem is that if you are using <a href=”http://doc.xceedsoft.com/products/Xceedgrid/Xceed.Grid~Xceed.Grid.SummaryRow~TextFormat.html”>TextFormat</a&gt;, Statistical function like “COUNT” will not return the right numbers.

For 4, you can simply add new rows to the group, like any other group.

<code>
Xceed.Grid.DataRow row = gridControl1.DataRows.AddNew();

foreach( Cell cell in row.Cells )
{
cell.Value = … //The value on which the group is set
}
row.EndEdit();
</code>

Imported from legacy forums. Posted by CharlesB (had 3970 views)