in

C1 Community

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

MultiTotals in C1FlexGridClassic

Last post 04-06-2008 9:05 PM by DoctorD. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-03-2008 7:14 PM

    MultiTotals in C1FlexGridClassic

     HI,

     

    I'm trying to replace old VSFlexGrid activex control with newer C1FlexgridClassic control.

    They are very similar and provide similar unctionality and api. 

     Old VSFlexGrid had MultiTotals property but C! version does not have it.

    Does anybody know any way around?

     

    Thanks 

    Filed under:
  • 04-04-2008 12:40 AM In reply to

    Re: MultiTotals in C1FlexGridClassic

     OK, I've figured out... kind of...

     

    The problem I have now is layout. Somewhy my "subtotal" items preceeds normal items, And GrandTotal goes first... Stupid

    Also, if I pass "caption" string - into subtotal

    Overloads Public Sub Subtotal( _

    ByVal aggType As AggregateEnum, _

    ByVal level As Integer, _

    ByVal groupOn As Integer, _

    ByVal totalOn As Integer, _

    ByVal caption As String _

    )

     

    this caption is not printed.

     

    One more problem - color schema of the grid. Subtotals are grey - I want to change colour. GrandTotal - black... Hmmm...

    How to change? 

     

  • 04-04-2008 5:38 PM In reply to

    Re: MultiTotals in C1FlexGridClassic

    Hi,
     
    Please take a look at the attached sample. The sample create subtotals for multiple columns.
     
    The sample populates a grid with random data and allows you to add up to three levels of subtotals, either above or below the data.
     
    Each subtotal level is calculated for all data columns.
     
    Hope this helps.
     
    Regards,
    John Adams
     
    <DoctorD> wrote in message news:203495@10.0.1.98...

     OK, I've figured out... kind of...

     

    The problem I have now is layout. Somewhy my "subtotal" items preceeds normal items, And GrandTotal goes first... Stupid

    Also, if I pass "caption" string - into subtotal

    Overloads Public Sub Subtotal( _

    ByVal aggType As AggregateEnum, _

    ByVal level As Integer, _

    ByVal groupOn As Integer, _

    ByVal totalOn As Integer, _

    ByVal caption As String _

    )

     

    this caption is not printed.

     

    One more problem - color schema of the grid. Subtotals are grey - I want to change colour. GrandTotal - black... Hmmm...

    How to change? 

     



    http://helpcentral.componentone.com/cs/forums/p/74837/203495.aspx#203495

  • 04-06-2008 9:05 PM In reply to

    Re: MultiTotals in C1FlexGridClassic

     Excellent! Just excellent!

    Thank you very much - the example was perfect. 

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