Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleExample


Code Block
languagejs
onRowClicked: function () {
    this.dashboard.store.set({'additionalInfo': true});
},

...


unset()

store.setunset(attribute, undefined)
To delete a store attribute, set it to undefined

If any attribute changes, a change event is triggered. The easiest way to subscribe to those in the widget is by implementing the onStoreChange method.

Expand
titleExample


Code Block
languagejs
onRowClicked: function () {
    this.dashboard.store.setunset('additionalInfo', undefined);
},


Property Pages

Most widgets require configuration to function correctly. The widget configuration panels are exposed in the API, and can be leveraged and/or extended freely. To define a custom property panel, add a config.js file to the custom widget, and use the widget upload tool to bundle it.

...