[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridBase.BeforeAddRow

BeforeAddRow Event

Fires before a new row is added by the user.

Namespace: C1.Win.C1FlexGrid
Assembly: C1.Win.C1FlexGrid.4.8.dll
Syntax
public event RowColEventHandler BeforeAddRow
Returns
Type Description
RowColEventHandler Fires before a new row is added by the user.
Remarks

This event only fires when AllowAddNew is set to true and the user creates a new empty row by moving the cursor into the last row on the grid. It does not fire when a new row is added to the grid programmatically or when a row is added to the grid's data source.

You can use this event to cancel the creation of new rows by setting the Cancel parameter to true. In this case, the cursor does not move into the new row.