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
1310
Summary Row or Set ReadOnly property to false to a row
posted

Hello,

I have a grid which the last row must be a Sum of each column. I have done in my viewModel all the calculations and I have added the row. As the grid is editable I come across with the problem of this last row. It must be read-only.

The rows are dynamically charged from my viewModel.

Another solution I have found is the SummaryRow, but the problem is that I am not able to disable the littel button on the columns and to show directly the Sum of the columns when the grid is loaded.

By the way... how can I modify the template of the SUM= XXX ? I want to display only the numbers.

Thank you

Parents
No Data
Reply
  • 4475
    posted

    Hello,

     

    I have been investigating into your issue and I have created a sample project that demonstrates a custom approach of removing the HeaderDropDownControl and re-tempalting the SummaryRowCellControl which is responsible for displaying the sum value.

     

    Please let me know if my sample meets your requirements or have misunderstand you at some point.

     

    Sincerely,

    Ekaterina

    Developer Support Engineer

    Infragistics, Inc.

    www.infragistics.com/support

     

Children