added code to display results grid for megacore when click on checkbox