Multi-row editing

Multi-row editing

zehh_juniorzehh_junior Posts: 3Questions: 2Answers: 0

Hello,

Is it possible to choose which fields will be displayed to editing in Multi-row editing modal?

Like:

 buttons: [ 
            {
                extend: 'edit',
                text: 'Edit',
                className: 'btn btn-primary',
                editor: editor.fields('quantity','cost')
            }

Answers

  • allanallan Posts: 61,892Questions: 1Answers: 10,144 Site admin

    The fields.multiEditable option can be used to disallow fields from being multi-row editable.

    Allan

  • zehh_juniorzehh_junior Posts: 3Questions: 2Answers: 0

    Hi Allan, thanks for the answer,

    I see that fields.multiEditable is enable since Editor 1.6, I use the 1.5. Is there another way to choose the fields enable to edit?

    *Sorry for my english

  • allanallan Posts: 61,892Questions: 1Answers: 10,144 Site admin

    Not really. You could perhaps use the show() and hide() methods to show and hide the fields as you need, but with 1.5 that's really the only option.

    On the plus side, 1.6 is a free upgrade.

    Allan

This discussion has been closed.