Restrict data by user in advanced grid

I am using advanced grid in my app and when I create a record using different user ids the data is available to the other user as well. How do I restrict my advance grid to show only records related to that particular user?