2 Replies Latest reply on Oct 21, 2008 12:27 PM by savyasachi

    Adding new data row(s) to DataGrid control

    savyasachi Level 1
      My requirement is to provide the ability to add a new row to the datagrid when tabbed out of the (last cell of the last row of the datagrid. I have made my datagrid editable and in the 'itemEditEnd' handler I am adding a new object (with empty values) to the data provider for the Grid and setting focus to the Grid and then setting the new row index as the Selected Index for the Grid. None of this activating itemEditor for the first cell of the new row.

      I have seen somewhere that dispatching the itemEditBeginning will do this for me. But not sure how to do this. Appreciate if can point me to a sample woring example.