how edit() function edit sigle fields??

how edit() function edit sigle fields??

casuistcasuist Posts: 41Questions: 16Answers: 0
edited November 2016 in Editor

Maybe edit() is updated all fields. but i want single fields.

editor.edit($(this).closest('tr'), false).set('banking.stat', 'E')
This case all fields updated. I want Only banking.stat field. (Because Other fields change value on real time.)
Is possible??

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin

    Do you mean you want only the changed value at the server-side? If so, use the submit option of the form-options object:

    editor
      .edit($(this).closest('tr'), false, { submit: 'changed' } )
      .set('banking.stat', 'E');
    

    Allan

This discussion has been closed.