How to customize the "No data available in table" text

Since DataTables extension version 1.2.2.

If you'd like to customise the text "No data available in table" when you DataTables table is empty, you could use the plugin hook gravityview/datatables/config/language as follows:

// Replace empty table label, default: "No data available in table"
add_filter( 'gravityview/datatables/config/language', 'my_gv_datatables_labels', 10, 1 );
function my_gv_datatables_labels( $labels ) {
	$labels['sEmptyTable'] = 'My New Label when table is empty';
	return $labels;
}

Paste the code above in your theme's functions.php file.