GUIs don't just appear out of thin air. Directly or indirectly, you have written some code that puts a datagrid on a screen. Maybe you just futzed around with a mouse using an IDE and a visual designer or something but there is code hiding somewhere in there. But if you did just mouse around and click stuff and can't find the code then perhaps you could post a bunch of screen captures showing the various properties and stuff. Or a video of how you created whatever it is that isn't working the way that you want it too. That also might be enough of a clue to get you some help.