Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: Subtotal

$
0
0

Hi Pedro,

If I assume correctly, you are looking to sum up the values of cells in a single row and show the same in the cell of the last column. You want to do this for each row.

If this is the scenario, then SubTotal() method won’t help you much as this is grouping based aggregation applied on column cells.

For your requirement, you would have to use 'OwnerDrawCell’ event, where you will need to manually sum up the values for each column and dispaly the same in e.Text property for column 6.

I hope this will help. In case you need sample code, please let me know. I will be glad to assist you. If I have misunderstood the requirement, please explain the requirement in detail along with a rough image of the structure you are looking for. probably in an excel sheet. I will accordingly suggest you the solution for the same.

Regards,
Deepankar


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>