Title: (solved)Multiline headers in datagrid Post by: pato.llaguno on September 29, 2015, 02:25:19 PM Hello, i have somewhat "long" headers, and i was trying to make them a fixed width so the datagrid looks nicer. the problem is that the headers are loaded dynamically so i cant have them set to a specific width. The header count is dynamic so my goal is to calculate how many headers im having and later on ill divide it into the number of headers. the problem is that for me to be able to do that i need the header to display in , multiline which i can't, ATM i am not having the dynamic headers and having them static and using "br" tags to make it multiline, which won't do the trick for dynamic header since it wont break lines where it has to.
i tried Code: .datagrid-header-row .datagrid-cell{ but no success, i dont know if it has something to do that i have a 2 row header. Header: Code: <thead> Any sugestions? Title: Re: Multiline headers in datagrid Post by: jarry on September 30, 2015, 12:25:06 AM If you want a multiline title on the columns, please try this:
Code: .datagrid-header-row .datagrid-cell{ Title: Re: Multiline headers in datagrid Post by: pato.llaguno on September 30, 2015, 07:42:42 AM Thanks! i was missing the whitespace: normal.
now working |