Only call grid listeners if contents changed