MGSelectCell

Top  Previous  Next

This event is fired when a cell is selected for the grid in readonly mode.

[Visual Basic .NET]

Public Event MGSelectCell(ByVal s As Object, ByVal e As SelectCellEventArgs)

[C#]

public event MGSelectCell(object s, SelectCellEventArgs e);

Parameters

s

    Specifies the sender object.

 

e

    is the object of SelectCellEventArgs Class with the following members:

1.GridIndex specifies the index of current active grid where selecting 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.SectionIndex specifies the section index (0-based) of the selected cell. If the AllowSections is set to FALSE or the active grid is a sub grid not the full grid, this parameter becomes irrelevant.

3.RowTag specifies the tag value of current row.

4.CurrRowIndex specifies the current row index (0-based) of the selected cell.

5.CurrColumnIndex specifies the current column index (0-based) of the selected cell.

6.OrigColumnIndex specifies the original column index (0-based) of the selected cell.