PDA

View Full Version : grid: span column header over multiple columns



basinilya
26 Jan 2012, 12:15 PM
I have gxt grid in my web app. I want the caption of one column header to span over multiple columns.



|column1 |column2 |loooooooooooong text|column5
_________________________________________________
|aaaaaaaaa|bbbbbbbbb|ccccccccc|dddddddddd|eeeeeee


The header is a one-row table. Each cell has a div with a span. div inherits styles:
overflow: hidden;
text-overflow: ellipsis;

I tried to change it to
overflow: visible;
text-overflow: none;

but that didn't help.

I use GXT 2.1.3 and IE9 developmend toolbar to change styles

harun
27 Jan 2012, 3:07 AM
Hi basinilya,

if I understand you right, you are looking for column grouping.

Please look over the follwing link:

http://www.sencha.com/examples/explorer.html#columngrouping
(http://www.sencha.com/examples/explorer.html#columngrouping)
Best Regards,

basinilya
27 Jan 2012, 6:51 AM
Thanx. Solved.