onSelectChange

fires when selection is changed in a DataTable

void onSelectChange(){ ... };

Example

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

Related samples

Details

The event doesn't provide any details about changes, it just informs that they have happened.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix best ui framework and page of datatable product.