Versions Compared

Key

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

...

Expand
titleExample

This is an example that extends the facets table with an additional click handler.

Code Block
languagejs
return Widgets.FacetsTable.extend({
    customEvents: {
        'click tr': 'onRowClicked',
    },
 
    onRowClicked: function () {
        this.dashboard.store.set({'additionalInfo': true});
    },
});

See dashboard store for information on the store property being used here.

onStoreChange()

widget.onStoreChange(model, options)    

Status
colourBlue
titleExtend

...