added details option which allows user to execute code after the markup for each DetailRow has been rendered