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
248
Loop through Grid to calculate sum of a column in MVC Grid
posted

Hi

I am working on MVC Razor. And i have a hierarchical-grid in a view which has few editable columns.

Also, there are radio buttons, and on click of those buttons following operations are perforemed:

  • Sum a columns values (numeric type) is shown in a control(label).
  • For each row, value of 1 column is copied to another column.

And for above operations, i want to write a jquery method for above tasks. Although, got through few posts but can't find, how to loop through all rows of grid and how to access cell value.

Thanks