Skip to content

Commit

Permalink
Merge pull request #85 from sinsunsan/fix-doc
Browse files Browse the repository at this point in the history
fix doc
  • Loading branch information
khan4019 committed Apr 10, 2016
2 parents 5079f73 + 1194150 commit d3e1d9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Example:
{ field: "Description" },
{
field: "DemographicId",
displayName: "Demographic Id"
displayName: "Demographic Id",
sortable : true,
filterable : true
},
Expand All @@ -99,7 +99,7 @@ Example:
{
field: "image",
displayName: "Image",
cellTemplate: "<img ng-click="cellTemplateScope.click('example')" ng-src="{{ row.branch[col.field] }}" />",
cellTemplate: "<img ng-click='cellTemplateScope.click(\'example\')' ng-src='{{ row.branch[col.field] }}' />",
cellTemplateScope: {
click: function(data) { // this works too: $scope.someMethod;
console.log(data);
Expand Down

0 comments on commit d3e1d9c

Please sign in to comment.