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

[Solved] How to freeze first column in Radgrid

6 Answers 686 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ashish
Top achievements
Rank 1
Ashish asked on 10 May 2008, 02:58 PM
Hi,

I have been using radgrid demo version from a while and i tried a lot of research to freeze the first column of rad grid, but i am unable to acheive it.
I will be requiring n no of columns freeze and n numbers of row freeze.

Can you please help me in the matter.

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 10 May 2008, 03:02 PM
Hi Ashish,

To know more about grid frozen columns please visit this example:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/FrozenColumns/DefaultCS.aspx

RadGrid does not support frozen rows except the grid header when scrolling with static headers is enabled.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Shinu
Top achievements
Rank 2
answered on 12 May 2008, 05:25 AM
Hi Ashish,

You can also have a look at the following help article.
Frozen columns

Shinu.
0
Bhavani Arunachalam
Top achievements
Rank 1
answered on 11 Jun 2008, 12:09 PM
Dear Telerik team

I have a grid with first two columns as frozen Columns (first column is the GridEditCommandColumn and the next column is a gridTemplateColumn) .Total no:of columns in the grid 18.When the grid row is changed to edit mode by the click of GridEditCommandColumn  ,if i scroll the horizontal scroll bar the rest of the columns are crammed together and display is ugly.
1) Is it possible to freeze the Gridtemplate column and editcommand columns ?
2) Is it an issue with Radgrid ,if we pull  the horizontal thumb straight away to the end of the scrollbar without clicking on the end arrow in the scrollbar , the columns will not be displayed properly .Sample code you have provided in the
http://www.telerik.com/community/forums/thread/b311D-bckckb.aspx
is also not displaying the columns exactly(phone column is not displayed at all if you try to pull the horizontal thumb straight to the end of scrollbar.)

Can you please help me out in this issue ?
thanks in advance

Regards
Bhavani A
0
Pavel
Telerik team
answered on 13 Jun 2008, 02:06 PM
Hello Bhavani,

I have prepared a small sample that illustrates that the GridEditCommandColumn and GridTemplateColumn can be frozen as any other column type. Please find attached the archived project. Give it a try and let us know if you need further assistance.

All the best,
Pavel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David
Top achievements
Rank 2
answered on 13 Jun 2008, 03:02 PM
I am having issues with this as well.  I have a grid that gets bound to dynamic results (I have no idea what all of the columns are going to be or how many).  But I do know about the first five columns.  I have set those up explicitly as GridBoundColumns.  When I turn on scrolling it works.  However, as soon as I freeze number of those first 5 columns, the scrolling ceases to work.  If I use the thumb to scroll it will not scroll beyond the first 10 columns or so (my test proc is returning about 35 columns).  If I use the scroll arrow it will scroll further, but not always to the end - usually around 20 columns.  The behavior appears to be unpredictable - I can never say with certainty exactly how many columns it will show me.

Also, the grid is in a RadWindow.  If I maximize that window the grid loses the horizontal scroll bar altogether.

Again, none of this happens if I don't use frozen columns.
0
Pavel
Telerik team
answered on 17 Jun 2008, 06:34 AM
Hello David,

Could you please open a support ticket and attach to it a small runnable sample which reproduces the issue? Thus we will be able to debug it locally and provide a solution for you.

Sincerely yours,
Pavel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Ashish
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Shinu
Top achievements
Rank 2
Bhavani Arunachalam
Top achievements
Rank 1
Pavel
Telerik team
David
Top achievements
Rank 2
Share this question
or