>The code is in a method that is called from the "AfterRowColChange" of a grid (not the grid with the problem, let's call it 'grid 1'). So as one scrolls grid 1, it will modify the grid with the problem to add/remove the textbox/checkbox, according to the data.
If you're modifying grid2 each time user moves in grid1... you'd probably be better off with rethinking your grid2... maybe having more columns, and then setting their widths to zero and back as needed. Or having two grids on a tabless pageframe (sized the same as the grids, so it can't be noticed) and flipping them as needed.