Blank grid when i try user data

I am getting a blank grid whenever i try to configure user data using the onBeforeRender server side event and my custom queries for update,insert & delete.please assist me

Please, provide any kind of sample of your code to reconstruct the issue and provide you a proper solution.