When will CellEndEdit Event be triggered? RRS feed

  • Question

  • I'm using .net 2.0

    When I 'm working with datagridview in databinding, I've try to add and remove a row by adding and removing item form the datasource. it works but I don't know why after the add and remove action, it will trigger the cell end edit event and I didn't expect to fire this event.

    it cause a problem that make me do some logic in the removed row.

    I will modify the databound item properities when calling add and remove the datasource but all of this is in the datasource class but not the grid.

    anyone can tell me that is it a deflaut nature that add and remove a row will trigger cell end edit event?

    or anyone can tell me how .net datagrid know the cell is editing and fire the event?

    • Moved by nobugz Wednesday, June 11, 2008 10:46 AM Post to the WF DataControls forum, left behind at the old forums site
    Wednesday, June 11, 2008 7:58 AM