AD
Administrator
Syncfusion Team
February 14, 2007 05:54 PM UTC
Hi Ryan,
One way you can do this by handling the Model.QueryRowCount event of the grid and set the e.RowIndex to new row index. Here is a code snippet.
this.gridDataBoundGrid1.Model.QueryRowCount +=new GridRowColCountEventHandler(Model_QueryRowCount);
private void Model_QueryRowCount(object sender, GridRowColCountEventArgs e)
{
if( e.Count < 10 )
{
e.Count = 10;
e.Handled = true;
}
}
Best regards,
Haneef
AD
Administrator
Syncfusion Team
February 15, 2007 02:05 PM UTC
Hi Haneef
Thanks. and what about a DataGroupingGrid ?
is there a more elegant way for that without code i.e in the designer.
thanks.
>Hi Ryan,
One way you can do this by handling the Model.QueryRowCount event of the grid and set the e.RowIndex to new row index. Here is a code snippet.
this.gridDataBoundGrid1.Model.QueryRowCount +=new GridRowColCountEventHandler(Model_QueryRowCount);
private void Model_QueryRowCount(object sender, GridRowColCountEventArgs e)
{
if( e.Count < 10 )
{
e.Count = 10;
e.Handled = true;
}
}
Best regards,
Haneef
AD
Administrator
Syncfusion Team
February 15, 2007 11:50 PM UTC
Hi,
The grouping grid currently has no support for this. Sorry for the inconvenience, but there is no easy way to get this working.
Best Regards,
Haneef