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
1615
IGGridView Total Row
posted

What is the best way to create a total/subtotal row in the grid?

I have a grid that shows allocation to different assets in the portfolio. The allocation column is editable.

Need to show the total amount allocated and be able to update it when allocations change or deleted. 

Thank you

Parents
No Data
Reply
  • 40030
    Suggested Answer
    Offline posted

    Hi Aleksandr, 

    Sure. I'm assuming you're using our DataSourceHelpers, correct? I also believe you're using C#, so i provided my answer in that language. If you need it in Obj-c just let me know. 

    But basically all you're going to do is override the DSH and tell it if you have one more row to display than the amount of data you have. (Of course you can skip all of that if you just want to add one additional row of data to your underlying data)

    I've attached a sample that shows exactly what i'm talking about though. 

    Let me know if this helps. 

    -SteveZ

    SummaryRow.zip
Children