MGResizeColumn

Top  Previous  Next

This event is fired when resizing a column is finished.

[Visual Basic .NET]

Public Event MGResizeColumn(ByVal s As Object, ByVal e As ResizeColumnEventArgs)

[C#]

public event MGResizeColumn(object s, ResizeColumnEventArgs e);

Parameters

s

    Specifies the sender object.

 

e

    is the object of ResizeColumnEventArgs Class with the following members:

1.GridIndex specifies the index of current active grid where resizing occurs. -1 indicates the full grid; for a sub grid in cascade mode, this member's value must be between 0 and the return value of GetTotalSubGrids() minus 1.

2.LeftColumnIndex specifies the index (0-based) of the left resizing column. As when it comes to resizing a column except for the last column, it will automatically resize an adjacent column. This member indicates the index of the left column being involved in resizing.

3.RightColumnIndex specifies the index (0-based) of the right resizing column. If LeftColumnIndex indicates the last column, this member becomes -1.