{hero}

rowGroup.emptyDataGroup

Since: RowGroup RowGroup 1.0.2

Text to show for rows which have null or undefined group data.
Please note - this property requires the RowGroup extension for DataTables.

Description

If the data point (rowGroup.dataSrc) for a row is either null or undefined, it will still create a group of similar data, but the label shown is defined by this option.

Type

string

Description:

The text that will be shown in the grouping row for the data.

Default

  • Value: No group

Example

Set a custom group message:

$('#myTable').DataTable( {
	rowGroup: {
		emptyDataGroup: 'No categories assigned yet'
	}
} );