adds event handlers to DataView