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
March 22,
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)
March 22,
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...
March 24,
I am also interested in understanding this. But I do need 1,2 or 3 columns frozen.

Chris H.
March 24,
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)
March 28,
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!
May 6,
And ? is it possible to freeze the columns 1 and 2 ???

thanks a lot for this wonderful grid !
September 22,
Is there a way to set the text in the header column?
September 23,
Fixing 2 columns is not possible. For the rest please see http://www.activewidgets.com/messages/1393-4.htm
Alex (ActiveWidgets)
September 25,
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
February 4,
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)
February 6,

This topic is archived.

See also:

Back to support forum