onSelectChange

fires when the selection is changed

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

Parameters

sel_arrarrayan array of items, the selected state of which is changed

Example

myDataView.attachEvent("onSelectChange", function (sel_arr){
   // your code here
});

Details

the event also fires for multi-select actions

Back to top