PDA

View Full Version : Set grid column's width wide enough to display text in it



shahdollie
29 Mar 2011, 2:34 PM
hi everyone,


I am loading a grid dynamically in extjs. As you can see below the column "Created" is not wide enough to display whole text in it. I want to set every column's width such that it display's its text completely.



25408


Is this possible to do? Any suggestion?
Thanks for help.
Regards

laurentParis
29 Mar 2011, 11:39 PM
looking for fitColumn...

shahdollie
30 Mar 2011, 4:02 PM
hi thanks for replying.

By fitColumn did you mean fitColumns() method of gridview? Could you please tell how and where to use it?

Thanks for help
Regards