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

freeze first column

6 Answers 1080 Views
GridView
This is a migrated thread and some comments may be shown as answers.
SKmatt
Top achievements
Rank 1
SKmatt asked on 20 May 2008, 02:35 PM
Hi,
I'm looking to freeze my first column. how i do it ? please.

I want it stay when i'm using scrolling.
and is it possible whith the header of the gridview too.

Thanks !

6 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 22 May 2008, 03:29 PM
Hi SKmatt,

Thank you for writing.

You could freeze any columns in RadGridView by using the Pin option in the standard context menu. At run-time, you could pin a column by using the IsPinned property of the desired column:

this.radGridView1.MasterGridViewTemplate.Columns[0].IsPinned = true

I hope this helps. If you have other questions, do not hesitate to contact me again.

Regards,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
SKmatt
Top achievements
Rank 1
answered on 23 May 2008, 07:26 AM
Thanks.
it work fine.
But when I scroll other column, I can see them on background of my first freeze column.

And I've an alternate color on my row that I don't want to loose if it's possible.
So is it possible to have no-tranparency on my first column.

have a nice day
0
Martin Vasilev
Telerik team
answered on 26 May 2008, 07:44 AM
Hello SKmatt,

Thank you for writing.

We are aware of the behavior you reported. It will be addressed in the upcoming Q2 2008 release. Unfortunately, I cannot suggest a work-around other than hiding the row header column: 

this.radGridView1.MasterGridViewTemplate.ShowRowHeaderColumn = false

Please, excuse us for the inconvenience. If you have other questions, do not hesitate to contact me again.

Kind regards,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
SKmatt
Top achievements
Rank 1
answered on 02 Jun 2008, 07:08 AM
Thanks For Ur work.
0
jayshree jadhav
Top achievements
Rank 1
answered on 01 Apr 2010, 08:39 AM
Hi,

I'm looking to freeze header of gridview  in window application  how i do it ? please.

Thanks!
0
Martin Vasilev
Telerik team
answered on 07 Apr 2010, 08:45 AM
Hi jayshree jadhav,

Actually, the header row in RadGridView is frozen by default and when scrolling it scrolls only the data rows. Please, give us more details what exactly is your requirement.

Sincerely yours,
Martin Vasilev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
SKmatt
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
SKmatt
Top achievements
Rank 1
jayshree jadhav
Top achievements
Rank 1
Share this question
or