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

[Solved] How to give Scroll Bar in perticular column of Radgrid

2 Answers 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rahul
Top achievements
Rank 1
rahul asked on 14 May 2009, 08:57 AM
Hi.
I am using Radgrid in my Project and for some records the size of the text is so big that it can not fit in the Respective Block of that Grid. So I wanted to Know that is there any property using which I can put the  scroll bar for that perticular column of that grid. I dont Want The scroll  bar for Entire Grid.
Please  Let me Know if anyone had the solution for this problem as early as possible
Thank You.

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 14 May 2009, 09:48 AM
Hi Rahul,

Since table elements (cells, rows, columns) are not scrollable, I suggest you to use a GridTemplateColumn and enclose the table cell content in a separate scrollable container. Here is an example:

<telerik:GridTemplateColumn HeaderText=".....header_text......">
    <ItemTemplate>
             <div  style="overflow:auto; width:100px; height:100px;">
                     <%# Eval("........column_name.......") %>
             </div>
    </ItemTemplate>
</telerik:GridTemplateColumn>


Greetings,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
rahul
Top achievements
Rank 1
answered on 23 May 2009, 05:09 AM
Thank You ..
Tags
Grid
Asked by
rahul
Top achievements
Rank 1
Answers by
Dimo
Telerik team
rahul
Top achievements
Rank 1
Share this question
or