onSelectChange

fires after selection state was changed

void onSelectChange(array ids){ ... };

Parameters

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
    If you have not checked yet, be sure to visit site of our main product Webix javascript ui components library and page of context menu product.