Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to remove pending edit (new record) ListGrid

    I've got this grid:
    Code:
            testgrid = new ListGrid();
            testgrid.setDataSource(mDataSource);
            testgrid.setCanEdit(true);
            testgrid.setCanRemoveRecords(true);
            testgrid.setAutoSaveEdits(false);
    And a button to start editing a new record.
    Code:
    testgrid.startEditingNew()
    A delete icon appears to the right of the row. The delete icon do not remove the pending new record if I regret adding the row.

    I also attempted to get control of the click with a RemoveRecordClickHandler, but it does not fire up.

    How can i delete a not saved (new record) from the grid?

    SmartClient Version: v9.0p_2013-10-01/PowerEdition Deployment (built 2013-10-01)
    Firefox 23.0.1
    <smartgwt.version>4.0-p20131001</smartgwt.version>
    Last edited by Sindre; 18 Oct 2013, 00:26.

    #2
    Hmmm..No answers - to silly or to difficult?

    Comment


      #3
      This was fixed - today's builds have the fix.

      Comment


        #4
        Thanks a lot!

        Comment

        Working...
        X