Skip to content

Commit

Permalink
[API] send data object to formatter as well and not only current field
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Repta committed Mar 8, 2013
1 parent b4c75e4 commit 062a774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function(kernel, declare, listen, has, put, List, miscUtil){
formatter = scope[formatter];
}

td.innerHTML = formatter(data);
td.innerHTML = formatter(data, object);
}else if(column.renderCell){
// A column can provide a renderCell method to do its own DOM manipulation,
// event handling, etc.
Expand Down

0 comments on commit 062a774

Please sign in to comment.