ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Is there a way to format column header?

Open codesometech opened this issue 11 years ago • 2 comments

Is there a way to format column header? Some of my column headers are long and end with "..." and overlap with sort icon on column. It would be nice if I can add a line break.

codesometech avatar Jun 23 '15 19:06 codesometech

On the columnDef, there should be a headerCellTemplate: http://ui-grid.info/docs/#/api/ui.grid.class:GridOptions.columnDef and http://ui-grid.info/docs/#/tutorial/317_custom_templates

PaulL1 avatar Jun 23 '15 19:06 PaulL1

That worked. Thanks @PaulL1

codesometech avatar Jun 25 '15 17:06 codesometech