Jul 19, 2012, 6:54 AM
[CLOSED] Grids - Long header names/wrapping
What is the correct way to give a grid header text that can wrap?
I have a grid with column headings that are somewhat long. When the columns are shrunk, I would like the label to accommodate. Is that possible? If not, what is the correct way to add a hard break? I have tried "<br/>" in the text, and that does work, but leave a bit to be desired if you want to align the heading. I have also added header items, but that has stylesheet issues as it does not seem t produce the same classes as providing a text value. (To be fair, I added a DisplayLabel as the way to add a header item. Maybe there is some other component that is better - using Razor here.) Finally, I have seen the "group" feature, but I am not trying to have "multiple headers," but rather, a "wrapped header."
Any advice is appreciated. Thanks in advance.
I have a grid with column headings that are somewhat long. When the columns are shrunk, I would like the label to accommodate. Is that possible? If not, what is the correct way to add a hard break? I have tried "<br/>" in the text, and that does work, but leave a bit to be desired if you want to align the heading. I have also added header items, but that has stylesheet issues as it does not seem t produce the same classes as providing a text value. (To be fair, I added a DisplayLabel as the way to add a header item. Maybe there is some other component that is better - using Razor here.) Finally, I have seen the "group" feature, but I am not trying to have "multiple headers," but rather, a "wrapped header."
Any advice is appreciated. Thanks in advance.
Last edited by Daniil; Jul 19, 2012 at 4:44 PM.
Reason: [CLOSED]