Code changes for Jquery gird.