RowGroup example Semantic UI

This example shows DataTables and the RowGroup extension being used with the Semantic UI styling framework. The DataTables / Semantic UI integration provides seamless integration for DataTables to be used in a Semantic UI page.

NamePositionOfficeAgeStart dateSalary
NamePositionOfficeAgeStart dateSalary
Edinburgh
Tiger Nixon System Architect Edinburgh 61 2011/04/25 $320,800
Cedric Kelly Senior Javascript Developer Edinburgh 22 2012/03/29 $433,060
Sonya Frost Software Engineer Edinburgh 23 2008/12/13 $103,600
Quinn Flynn Support Lead Edinburgh 22 2013/03/03 $342,000
Dai Rios Personnel Lead Edinburgh 35 2012/09/26 $217,500
Gavin Joyce Developer Edinburgh 42 2010/12/22 $92,575
Martena Mccray Post-Sales support Edinburgh 46 2011/03/09 $324,050
Jennifer Acosta Junior Javascript Developer Edinburgh 43 2013/02/01 $75,650
Shad Decker Regional Director Edinburgh 51 2008/11/13 $183,000
London
Jena Gaines Office Manager London 30 2008/12/19 $90,560
Showing 1 to 10 of 57 entries

The Javascript shown below is used to initialise the table shown in this example:

1
2
3
4
5
6
7
8
$(document).ready(function() {
    $('#example').DataTable( {
        order: [[2, 'asc']],
        rowGroup: {
            dataSrc: 2
        }
    } );
} );

In addition to the above code, the following Javascript library files are loaded for use in this example: