grid.selectRow() and onBeforeSelect event

It would be nice if the onBeforeSelect event was not called when selectRow() is called.

The selectRow() function has a parameter which controls if the onRowSelect event is fired, should this simultaneously control if onBeforeSelect is fired ?

Followup: I do not know if this request is needed after all. I found a very nice solution which I like better.

Dhtmlx is such a cool library–keep up the great work.

onBeforeSelect event calls before the selectRow() method calls as it allows to block the method calling so it is not available to block the event from the method.