Hello Isomorphic,
When I try to add this field:
to this example:
https://www.smartclient.com/smartcli..._Column.titles
then I don't get the same kind of centering in the header title that I got with smartclient 11.0. I'd expect the 2 lines to be centered with respect to each other, instead it appears that the first line is right-aligned to the 2nd line, which I consider to be unattractive. If I change it to be cellAlign:"center", then it works as expected for the header title, although then I center all the cells, which is not desirable in my case.
Is there a better way to handle multi-line header titles? In my use case, I want to put a title in the first line, and then the 2nd line would display scientific units (i.e., the title should always be broken into 2 lines).
Thanks!
When I try to add this field:
Code:
{name:"gdp", title:"some title gdp", headerTitle:"gdp<br>2nd line", align:"center",cellAlign:"right", type:"float" },
https://www.smartclient.com/smartcli..._Column.titles
then I don't get the same kind of centering in the header title that I got with smartclient 11.0. I'd expect the 2 lines to be centered with respect to each other, instead it appears that the first line is right-aligned to the 2nd line, which I consider to be unattractive. If I change it to be cellAlign:"center", then it works as expected for the header title, although then I center all the cells, which is not desirable in my case.
Is there a better way to handle multi-line header titles? In my use case, I want to put a title in the first line, and then the 2nd line would display scientific units (i.e., the title should always be broken into 2 lines).
Thanks!
Comment