How can I display dotted grid lines?

Call

   GetParam()->SetGridLineStyle() 

to use dotted grid lines for an individual grid or call

   GXSetNewGridLineMode() 

in your InitInstance method if you want to use dotted grid lines as default for all grid in your application.

Check out the description of CGXGridParam::SetNewGridLineMode for a sophisticated discussion about this topic.