:: Forum >>

freezing columns

Is there anyway of freezing the first two or three columns on a grid so when you scroll to the right they remain frozen.....thanks
Monday, March 22, 2004
No, in this version the only thing you can do is to make the header column look like a normal one. This will give you one 'freezed' column.
Alex (ActiveWidgets)
Monday, March 22, 2004
that sounds good , I'm looking to get the rightmost column frozen like you've mentioned above. Would you have an xample of this??

thanks for your help...
Wednesday, March 24, 2004
I am also interested in understanding this. But I do need 1,2 or 3 columns frozen.

Chris H.
Wednesday, March 24, 2004
First, you need to supply the data into the row headers:

obj.setRowText(function(i){return myData[i][0]});

Maybe set the header width:


And also apply some CSS rules:

.active-scroll-left .active-box-item {
background: #fff;
border: none;
text-align: left;

In case you need to hide a column:

.active-column-0 {
display: none!important;

Alex (ActiveWidgets)
Sunday, March 28, 2004
Is there a way to sort the ID column? I would like to put people's names in the left most column and have it locked so it always stays visible when scrolling to the right. I can do that using the above code. I would also like to give this column a header name and be able to sort it. Is that possible?

Thanks for a great tool!
Thursday, May 6, 2004
And ? is it possible to freeze the columns 1 and 2 ???

thanks a lot for this wonderful grid !
Wednesday, September 22, 2004
Is there a way to set the text in the header column?
Thursday, September 23, 2004
Fixing 2 columns is not possible. For the rest please see http://www.activewidgets.com/messages/1393-4.htm
Alex (ActiveWidgets)
Saturday, September 25, 2004
please give me some exaple/coding/source file regarding above metter (freeze column) and other exampls of custum column/table style

please bec's i m new in vb.net, i am using vb.net 2002, and i am in a problem, my e-mail is : manish_sapkal1977@yahoo.com & manish_sapkal@indiatimes.com

Please sir help me
manish sapkal
Saturday, February 4, 2006
Fixing/freezing columns in version 1.0 is not possible. In version 2.0 you can do it by calling obj.setFixedLeft(num); where num is the number of columns to fix (you should use AW.Grid.Extended class).
Alex (ActiveWidgets)
Monday, February 6, 2006

This topic is archived.

Back to support forum

Forum search