We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.

# Total Row in Hierachical view using GDBG

I am using GDBG to display information a Hierarchical manner. There are three level of information in my grid. Let’s say Level A …………………. Level AB Value b1 ………………………. Level AC value c1 ………………………. Level AC value c2 ………………………. Level AC value c3 ………………………. Level AC value c4 …………………. Level AB Value b2 …………………. Level AB Value b3 …………………. Level AB Value b4 Level B …………………. Level BB Value b1 ………………………. Level BC value c1 ………………………. Level BC value c2 ………………………. Level BC value c3 ………………………. Level BC value c4 …………………. Level BB Value b2 …………………. Level BB Value b3 …………………. Level BB Value b4 Everything is fine up to this point. Now I have to show the total row at 2nd and 3rd level. Something like Level A …………………. Level AB Value b1 ………………………. Level AC value c1 ………………………. Level AC value c2 ………………………. Level AC value c3 ………………………. Level AC value c4 ………………………...Total Sum(c1+c2+c3+c4) …………………. Level AB Value b2 …………………. Level AB Value b3 …………………. Level AB Value b4 …………………. Total Sum(b1+b2+b3+b4) Level B …………………. Level BB Value b1 ………………………. Level BC value c1 ………………………. Level BC value c2 ………………………. Level BC value c3 ………………………. Level BC value c4 ………………………...Total Sum(c1+c2+c3+c4) …………………. Level BB Value b2 …………………. Level BB Value b3 …………………. Level BB Value b4 …………………. Total Sum(b1+b2+b3+b4) I have no idea how to do it. Should I add one extract row in my data table at 2nd and 3rd level and somehow find that row and do the formatting like making them BOLD. Is there any better way to do it? If there is a sample, please point me to that. Thanks, VS

3 Replies