Parameters:
view.attachEvent("onBeforeSelect", function (id, state){ //any custom logic here return true; });
Event is blockable, if non-true value returned from custom method, default reaction will be blocked
Event doesn't occur for multi-select actions