in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

TrueDBGrid PrintPreview Hide GridLines in Group mode

Last post 11-09-2007 8:02 AM by m.ioannou. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 11-09-2007 8:02 AM

    TrueDBGrid PrintPreview Hide GridLines in Group mode

            Hi,       I'm using the 2006 V3 of the TrueDBGrid. I need to hide the grid lines on the grid preview at run - time (Report-Style), so I use the following commands:                  

           [myGrid].PrintInfo.GridLines = C1.Win.C1TrueDBGrid.PrintInfo.GridLinesEnum.None

           [mygrid].PrintInfo.PrintPreview()

    This works perfectly for me but if I set also

           [myGrid].DataView = C1.Win.C1TrueDBGrid.DataViewEnum.GroupBy

    I get back the Grid Lines in the Preview. Is this a bug of the component or is there a way to make it work ?

    Could anyone help ?    T H A N K S !

    Filed under:
Page 1 of 1 (1 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.