:: Forum >>

Locking the width of a column

Is there anyway to lock the width of a column? or catch the resize and stop it from occuring?
DoubleD
Monday, May 16, 2005
no one seems to know the answer to this one. If Alex is there. do you have an answer I would like to lock the width of column 0. and not allow the user to resize it. any Ideas?
DoubleD
Saturday, May 21, 2005
Here is some cut-and-paste from an other answer (from Alex)

regards

------------------------------------
To disable column resizing on all columns - add the following stylesheet rules:

<style>
.active-box-resize {display: none;}
</style>

To disable resize on one column (for example the first one):

<style>
.active-column-0 .active-box-resize {display: none;}
</style>





thePaster
Thursday, May 26, 2005
Thanks alot thePaster, and Alex for the original Post.

Works like a Charm.
DoubleD
Thursday, May 26, 2005
I've tried this in v2.0 beta1 and can't get it to work.

#myGrid2 .aw-box-resize {display: none;}, for all columns, or
#myGrid2 .aw-column-2 .aw-box-resize {display: none;} for specific columns

doesn't seem to prevent column widths being adjustable (in either IE or FF)
(also tried .aw-box-div which didn't work either)

Will
Will
Friday, October 14, 2005
Try with #myGrid2 .aw-grid-separator {display: none;}, for all columns. I've type almost every combination for a sigle column, but no luck.
Carlos
Saturday, October 15, 2005
i am also trying the same thing. I have multiple Tables in a page, but need to fix the column of only one table. Any luck?

thanks
Raj Nair
Wednesday, July 19, 2006
Check also the posts...
/javascript.forum.8504.7/disabling-column-resizing-in-2.html
/javascript.forum.14216.2/double-click-the-separator.html
/javascript.forum.14553.2/how-to-set-a-column.html
/javascript.forum.8028.11/resizing-issue-v2-0.html
Carlos
Wednesday, July 19, 2006

This topic is archived.


Back to support forum

Forum search