Editor event multi edit

Editor event multi edit

rf1234rf1234 Posts: 2,986Questions: 87Answers: 421

Is there an event to detect that Editor is being opened to edit multiple records?
I need to detect this in order to prevent Editor from showing only selected fields which it shouldn't if multiple records had been selected for editing.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,468Questions: 1Answers: 10,466 Site admin
    Answer ✓

    Not directly, but the field().multiGet() method could be used for this:

    Object.keys( editor.field('first_name').multiGet() ).length
    

    If it is 1, its a single row edit, otherwise its a multi-row edit.

    Allan

This discussion has been closed.