HA
haneefm
Syncfusion Team
November 12, 2007 06:10 PM UTC
Hi Q,
One way you can determine the pure virtual grid by checking the Data.Rows.Count property. In a typical virtual grid this property will usually be 0: Below are the codes:
if( this.gridControl1.Data.Rows.Count ==0 )
Console.Wrilteline("Virtual Grid");
else
Console.Wrilteline("Non Virtual Grid");
Because no cells were saved directly in the Data object.
Best regards,
Haneef
QS
Qingde Shi
November 12, 2007 06:46 PM UTC
Haneef,
Thanks. That does the trick.
Q.
>Hi Q,
One way you can determine the pure virtual grid by checking the Data.Rows.Count property. In a typical virtual grid this property will usually be 0: Below are the codes:
if( this.gridControl1.Data.Rows.Count ==0 )
Console.Wrilteline("Virtual Grid");
else
Console.Wrilteline("Non Virtual Grid");
Because no cells were saved directly in the Data object.
Best regards,
Haneef