Is it possible in any way to change the header text when the size of the grid is too small to display it all? At this time I have it use an ellipsis when it's too small, but I would like to use different text (in this particular case the first two letters).
My columnDefs are as followed :
{
field: 'HoursMonday',
displayName: 'MONDAY',
headerCellFilter:'translate',
enableCellEdit: true,
type: 'number',
aggregationType: uiGridConstants.aggregationTypes.sum,
footerCellTemplate: '<div class="ui-grid-cell-contents">{{col.getAggregationValue()}}</div>'
},
If the text doesn't fit in the header anymore, I would like to display Mo, Tu, Wed, etc.
I have these shorthands written down in my language files, so translations shouldn't be an issue.
Any thoughts? Thanks!