Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
616
CalcManager and WinGrid with multiband.
posted

Hello.

I have worked with the component CalcManager. I have a WinGrid with two Bands. I want that the sum of values of cells of the second band insert into a cell of the first band. I tried:

ultraGrid.CalcManager = ultraCalcManager1;

ultraGrid.DisplayLayout.Bands[0].Columns.Add("SumBeginRate", "BeginRate").Formula = "SUM([//ultraGrid/Band 1/BeginRate])";. 

I heve an error #REF!.

Help me, please.

Parents
  • 469350
    Suggested Answer
    Offline posted

    I assume you want the sum of only the rows under a particular parent row, not the total of all rows in Band 1.

    Try this:

    "SUM([Band 1/BeginRate(*)])"

     

Reply Children