I have a RadGridView generated with many rows. This grid is in virtual mode. Now I want to generate groups. The GroupByExpression property doesn't work. How can I generate groups in virtual mode?
1 Answer, 1 is accepted
0
Julian Benkov
Telerik team
answered on 13 Apr 2009, 08:55 AM
Hello Werner Depenbrock,
Sorry for the delay of my answer.
You can use the new virtual grouping functionality in RadGridView. When grid is in virtual mode you can handle also the DataGroupNeeded event:
public partial class VirtualForm : Form
{
public VirtualForm()
{
InitializeComponent();
}
Random rand = new Random(1000);
protectedoverridevoid OnLoad(EventArgs e)
{
base.OnLoad(e);
this.radGridView1.ColumnCount = 10;
this.radGridView1.RowCount = 100;
for (int i = 0; i < this.radGridView1.ColumnCount; i++)