How to pass values of all fields when using excel like example

How to pass values of all fields when using excel like example

imballamaimballama Posts: 12Questions: 5Answers: 0

I used https://editor.datatables.net/examples/extensions/excel.html this example. I need to edit the fields like in excel, which is in the example, but that all fields from the table with their data are transferred to JSON, and not just the editable field. What do you advise?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 57,300Questions: 1Answers: 9,127 Site admin
    Answer ✓

    Use the formOptions.inline option in your initialisation and set it to be:

    formOptions: {
      submit: ‘allIfChanged’
    }
    

    Allan

Sign In or Register to comment.