This is not a typical ArrayCtrl usage scenario, so the first logical question is what you want to achieve?
Anyway, the possible solution is to cancel the grid (ArrayCtrl::NoGrid) and use custom Displays to draw the grid lines where needed. I do not recommend overriding the Paint.