PDA

View Full Version : ActionColumn Width Issue



ibnesayeed
15 Oct 2010, 9:56 PM
I have a grid in center region of border panel. The grid contains three columns with their width property set and two columns do not have their width property configured. Last column is action column wit its width property configured. I was expecting it to be fixed in pixels. But it seems to be set to auto. When I re-size the browser, width varies in proportion.

Animal
15 Oct 2010, 11:07 PM
We'd need to see your code.

But that is expected behaviour if you are using http://dev.sencha.com/deploy/dev/docs/?class=Ext.grid.GridView&member=forceFit

ibnesayeed
15 Oct 2010, 11:19 PM
Thanks!

Yes you are right, I am using force fit but i was expecting just those columns to be scaled having no explicitly specified width. By the way is there a way to get the same effect as in forcefit but width of certain columns to be fixed?

Animal
15 Oct 2010, 11:22 PM
Try configuring that column



fixed: true

ibnesayeed
15 Oct 2010, 11:31 PM
Thank you so much. You are wonderful. It just did the trick. :)