I would ask you for help with grid’s header styling. We want to render header label as vertical for several columns in grid but vaadin 14 grid doesn’t support header styling by columns. When I have used component for grid with Html component which contains div with proper style (style=“text-orientation: mixed;writing-mode: vertical-rl;”), I can’t to see sort mark even if I set column to sortable. Can you help me please? I think that best solution should be to style header without add header content as component, but I don’t know how to do it.
Thank you for answer. My problem is that not all headers are going to be sortable and not all headers are going to be with vertical text. I don’t think so that I can use any CSS selector for style it. Or is it possible to add some style class to header of some column? Something like classNameGenerator from column but for header? Thank you
This is a tricky use case…maybe you could try a template renderer (for a normal column) that that adds a <vaadin-grid-sorter style="writing-mode: vertical-rl" path="..." direction="..." > for the columns that should have vertical headers and sorting