its possible to extend button with two options?

its possible to extend button with two options?

scipiosoftscipiosoft Posts: 18Questions: 8Answers: 0

its possible to extend button with two options?
ex:
extend: "edit selectedSingle",

{
text: "<i class='fa fa-plus'></i>",
titleAttr: "Add Key (SHIFT + N)",
key: {
shiftKey: true,
key: 'n'
},
formTitle: 'Add Key to ' + product.toUpperCase(),
extend: "create selectedSingle",
editor: editor
}

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    No - sorry. Extend can only operate with a single button to extend. In this case the selectedSingle option would probably be the best option and call edit() from the action function.

    Allan

This discussion has been closed.