java - How to group rows in htmldatatable? -


How to group rows in htmldatatable? I am using JSF.

A small example:

  Tronjham Tronsmount invoice Num Invoismount 1 50 1 10 1 50 2 15 1 50 3 30 2 10 1 6 2 If I "Invoisnm so I choose the grouping column as "table should look as follows: - (ie Inhoisan are groupings): 
  Tronsanm Tronsmount invoice Neuve Invoismount 1 1 50 1 10 2 10 1 6 2 1 50 2 15 2 10 2 5 3 1 50 3 30   

Transmutation Transmount Invoice News Invite Shri way, the group can be

JSF

code> H: Detatebl is not a built-in group

or if you fit into one component libraries can find a component for your needs, such as, or.

Or you have to sort the list and implement it in the backing bean the way you want it.

Comments