4

I have a cfgrid with 5 columns. The funny thing is, it's showing a sort of extra column to the right, but without any of the formatting that applies to the rest of the grid. I can't seem to get rid of it by playing with the width of the grid or the fields... How can I get it to go away? (It shows up in Firefox and IE, but not in Chrome)

I'm attaching a screenshot of the grid to show what I mean.

cfgrid with extra space

froadie
  • 79,995
  • 75
  • 166
  • 235
  • it's not space for a scrollbar is it? – Antony Feb 29 '12 at 02:14
  • I would hate to know how much time I've wasted trying to solve this problem. I've been temped to do some Ext hacks of the CSS. I've used Firebug to find the problem and fix it in edit mode, even. However, when I see grids online without that problem, it leads me to believe there is a better/simple solution. I see this on various browsers and platforms -- both bound and static grids. – Chris Adragna Sep 11 '12 at 17:52

2 Answers2

3

It's because you have autowidth="true" set on the cfgrid.

Tia
  • 31
  • 2
0

Not having access at the code, I can only make an assumption. I believe you have your last column "centered" by using dataalign="center" within your cfgridcolumn. But did you add headeralign="center" to that cfgridcolumn? It fixed my issue.

Pierre GM
  • 19,809
  • 3
  • 56
  • 67