MGChangeGrid

Top  Previous  Next

This event is fired when a new sub grid is displayed in cascade mode.

[Visual Basic .NET]

Public Event MGChangeGrid(ByVal s As Object, ByVal e As ChangeGridEventArgs)

[C#]

public event MGChangeGrid(object s, ChangeGridEventArgs e);

Parameters

s

    Specifies the sender object.

 

e

    is the object of ChangeGridEventArgs Class with the following members:

1.PrevGridIndex specifies the index of previously displayed sub grid, this member's value must be between 0 and the return value of GetTotalSubGrids() minus 1.

2.CurrGridIndex specifies the index of currently displayed sub grid, this member's value must be between 0 and the return value of GetTotalSubGrids() minus 1.

3.NewRowsCount specifies the number of rows in currently displayed sub grid.

4.NewGridTitle specifies the grid title of currently displayed sub grid.