Announcement

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

    addRowEditorEnterHandler and onRowEditorEnter behaviour

    Hi there,

    is a correct behaviour that onRowEditorEnter event returns null on getRecord when fired over a row that has validation errors after creation? If the row doesn't has validation errors, returns the record.

    In 3.0 final release even if the row has errors, event.getRecord() returned the record.

    We are using 3.1 nightly builds and lastest Firefox / Chrome.

    A testcase is atached. Por example: if you create a new record (toolstrip button) with a mobile and a wrong mobile number (spanish format) like 6549871237, finish editting and enter to de row editor to correct this, the onRowEditorEnter returns null, so we don't know what medium contact type is selected to select the proper validator.

    Best regards
    Attached Files

    #2
    See the Grid Editing overview - for unsaved edits, there is no Record, and the unsaved edits can be retrieved using various editValues APIs described in the overview.

    There was no intended behavior change between 3.0 and 3.1, but regardless, the behavior you are reporting for 3.1 is correct.

    Comment


      #3
      Thanks for your reply. I fixed the code with the overview description. I didn't knew about the 'overviews'

      Best regards

      Comment

      Working...
      X