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
270
Sum values ​​in a column by clicking the check box
posted

Hello,
have a UnboundCheckBoxField on a webHierarchicalDataGrid.
Must click the check box and add the values of the selected rows, can anyone help me please.
Thank you;

Parents
  • 49378
    posted

    Hello Jorge,

    I am attaching a sample illustrating how the sum of the selected row's values in a column can be obtained. Additionally, I've also added a function to allow summing of all row's values when the header checkbox is clicked for your reference. Note that the sample also illustrates how the datasource can be configured to display the sum of child rows in a parent row's field.

    Hope this helps. Please feel free to contact me if you have any questions.

    WHDGSumColumn (2).zip
Reply Children
No Data