mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Group: Include group & row data parameter in group_formatter. Fixes #1077
This commit is contained in:
parent
001bcae652
commit
2ec0393b07
@ -223,7 +223,7 @@
|
||||
if ( data.group !== data.currentGroup ) {
|
||||
data.group = data.currentGroup;
|
||||
if ( $.isFunction( wo.group_formatter ) ) {
|
||||
data.currentGroup = wo.group_formatter( ( data.group || '' ).toString(), data.column, c.table, c, wo ) || data.group;
|
||||
data.currentGroup = wo.group_formatter( ( data.group || '' ).toString(), data.column, c.table, c, wo, data ) || data.group;
|
||||
}
|
||||
data.$row.before( tsg.groupHeaderHTML( c, wo, data ) );
|
||||
if ( wo.group_saveGroups && !data.savedGroup && wo.group_collapsed && wo.group_collapsible ) {
|
||||
|
Loading…
Reference in New Issue
Block a user