Hello All,
I have a ng.grid in my application and I should capitalize the word in
ng-grid's cell, so that first character would in uppercase.
How should I do it?
I tried to use cellTemplate property in that field in ng-grid like
following:
field : 'myField',
displayName : '',
cellTemplate : '<div class="ngCellText"
ng-style="{\'text-transform\':capitalize;}">{{row.getProperty(col.field)}}</div>'
}, {
When testing 'text-transform':capitalize in ordinary HTML page it works.
But in cellTemplate not at least code like above.
Have anyone ideas how define it into ng-grid?
Danny
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.