This is a migrated thread and some comments may be shown as answers.

Using frozen columns

1 Answer 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bruno
Top achievements
Rank 1
Bruno asked on 09 Jan 2013, 10:35 AM

Hello,

I am using a RadGrid in which I am using the FrozenColumnsCount property to freeze the first column, and it works well.

Now, I am showing and hidding some columns, by changing the Display property of the GridBoundColumn in my PreRender method, and it works well too.

I have 18 columns in the RadGrid, so when I horizontally scroll to see the last columns, I always have some columns automatically hidding "behind" the first column which is frozen.

The problem is that sometimes, when I display some columns in the RadGrid and hide the others, if I use the horizontal scrolling, I find that suddenly the second column of the RadGrid is being displayed when it unveils from "behind" the frozen column, even if I set the Display property of this column to false.

I would like to know which event is being fired when I use the horizontal scroll and could let me know which column is going to be unveiled, to let me hide the unwanted columns ?

Thank you for any help or advice.

[For example, let say I have 5 columns in the Grid. The column N° 1 is frozen, I set Display property of columns 2, 3, 4 to false, so the RadGrid only shows columns 1 (frozen) and 5.
If I use horizontal scroll, I see column 2 unveilling from "behind" column 1 when I thought that it was going to stay hidden as its Display property is set to false.]

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 14 Jan 2013, 09:39 AM
Hi Bruno,

Please note that hiding and showing columns on the client is not supported when using Frozen Columns as stated in the following topic:
http://www.telerik.com/help/aspnet-ajax/grid-frozen-columns.html

I hope this helps.

Regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Bruno
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or