FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / C1FlexGrid Class / CellChanged Event

In This Topic
    CellChanged Event (C1FlexGrid)
    In This Topic
    Fires after the contents of a cell have changed.
    Syntax
    'Declaration
     
    
    Public Event CellChanged As RowColEventHandler
    public event RowColEventHandler CellChanged
    Event Data

    The event handler receives an argument of type RowColEventArgs containing data related to this event. The following RowColEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value indicating whether the operation should be canceled.  
    Gets the index of the column that caused the event.  
    Gets the index of the row that caused the event.  
    Remarks

    This event allows you to perform processing whenever the contents of a cell change by typing data in a cell or assigning data throught code.

    This event does not fire if the data was changed in database.

    This event can be used to provide conditional formatting and dynamic data summaries, which get updated automatically whenever the data changes.

    This event fires in bound and unbound modes. In some bound more scenarios, the data source object may inform the grid that some data in the current row changed, without specifying which column changed. In this case, the Col parameter will be set to -1. Event handlers should be prepared to handle this situation without throwing exceptions.

    See Also