Skip to content

Commit dc79b43

Browse files
author
Caitlin Markert
committed
fixed example in docs - changed 'withLabel()' to 'withTitle()'
1 parent fc52638 commit dc79b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/api/apiColumnBuilder.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ <h3><code>DTColumnBuilder</code></h3>
152152
var vm = this;
153153
// Data fetched: {gender: 'Mr', firstName: 'foo', lastName: 'bar'}
154154
vm.dtColumns = [
155-
DTColumnBuilder.newColumn('firstName').withLabel('First name').renderWith(function(data, type, full) {
155+
DTColumnBuilder.newColumn('firstName').withTitle('First name').renderWith(function(data, type, full) {
156156
return full.gender + ' ' + full.firstName;
157157
});
158158
];

0 commit comments

Comments
 (0)