onSelectChange

fires after selection state was changed

void onSelectChange(array ids);
idsarrayarray of IDs, which selection state was changed

Example

webix.ui({
  view: "datatable",
  on: {
    onSelectChange:function () {
      var text = "Selected: " + grid.getSelectedId(true).join();
      document.getElementById('testB').innerHTML = text;
    }
  }
});

Related samples

See also
  • Articles
  • Back to top