Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Show group header above each displayed table  RSS feed

 
Mahmood Ali
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear team,



I need your assistant and help in solving the issue while displaying the records in a table. I am looking for a group header to be placed above each printed table for its related category and subcategory, as well as, the no. of the records for each table to be shown at the top of the table.

The table contains columns for category, subcategory, name. ex:

Category Subcategory Name

CON Retail AAA

CON Wholesale BBB

SPEC Retail CCC



What I am looking for is the below layout:



Category/Subcategory (No. of records) –similar to a group header


Name – Country ..etc ----Table header

table records



Here is my code below:



The problem in the above code is that it is showing the group headers category & sub ctageory multiple times and the count is incorrect. So, please assist me in correcting the above one.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66144
143
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is there Java code in your JSP? This is a practice that has been obsolete for over 12 years.
 
Mahmood Ali
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you suggest to overcome the issue? Or please provide me with some hints
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!