It could be a “Clear” method the main dd for the grid might be receiving directly or indirectly from your code.

do you have any child ddo in your ddo structure? If yes it could be coming from one of them