event object to setData handler