{hero}

rowGroup.endClassName

Since: RowGroup 1.0.0

Set the class name to be used for the grouping end rows.
Please note - this property requires the RowGroup extension for DataTables.

Description

When styling a grouped table, you will likely wish to visually distinguish between the start and the end grouping rows (if you are using both), applying different styles to each. This parameter provides the ability to customise the class name that is assigned to the grouping end rows.

Note that this class is assigned in addition to the rowGroup.className property, which can be used to provide common styling to both the start and end rows.

Type

string

Description:

The class name that will be applied to the grouping end rows, allowing them to be styled in the table.

Default

  • Value: group-end

Example

Set a custom class name:

new DataTable('#myTable', {
	rowGroup: {
		startClassName: 'table-end-group'
	}
});