Announcement

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

    grid.createRecordComponent not called for pending rows

    SmartClient Version: SNAPSHOT_v11.1d_2017-03-13/Enterprise Deployment (built 2017-03-13)

    Chrome on OSX

    Hello, I just noticed that grid.createRecordComponent is not called for pending rows, ie when a grid has saveLocally:true and autoSaveEdits:false.

    Is it by design?
    My use case is that I've got a button created as recordComponent, which show a 'preview' of data related to the record, and it would be nice to show the preview even if the record is not already saved.
    Let me say that it would be analogous to the fact that a row shows the removeIcon even if it isn't saved.

    #2
    Unsaved records have a number of documented limitations ultimately stemming from the fact that they have no unique ID. There is an overview here covering the limitations and approaches if you need unsaved records to behave more like normal records.

    Comment


      #3
      thanks for the heads up, the link was useful.

      Comment

      Working...
      X