wire up events for custom matrix control