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
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    If you have not checked yet, be sure to visit site of our main product Webix javascript framework and page of javascript treemap product.