3.2.0

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
May 16,
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
May 21,
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
May 26,
Thanks alot thePaster, and Alex for the original Post.

Works like a Charm.
DoubleD
May 26,
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
October 14,
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
October 15,
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
July 19,
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
July 19,

This topic is archived.

See also:


Back to support forum