How to do this?
First you need a grid line style that uses no center segment. Then you just switch grid types. Pretty simple and doesn’t really require programing.