Skip to main content

click

fires on clicking an item

click: (id: string | number, events: Event) => void;

Parameters:

  • id: string | number - the id of a clicked item
  • events: Event - a native event object

Example

dataview.events.on("Click", function(id, e){   console.log("The item with the id "+ dataview.selection.getId(id) +" was clicked.");});