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

[Solved] Freezing and resizing doesnt work together

3 Answers 188 Views
Grid
This is a migrated thread and some comments may be shown as answers.
srikanth ray
Top achievements
Rank 1
srikanth ray asked on 07 Oct 2009, 10:23 AM
hi,    

    We have a requirement. There are 30 bound columns in the rad grid and 2 of them are freezed. All the column widths are set using  headerstyle width property and we have even set the resizing property of radgrid. Everything works fine. But when any column is resized the freezed columns behaviour is weird, its size increases once horizontal scroll is done. Freezing and resizing doesnt work  properly. plz find the code below. any inputs will be appreciated

<

 

telerik:RadGrid runat="server" ID="dummy" AutoGenerateColumns="true"

 

 

Visible="false" OnColumnCreated="dummy_ColumnCreated"  HeaderStyle-Width="200" HeaderStyle-Wrap="false" >

 

 

<MasterTableView TableLayout="Fixed" CellSpacing="1"/>

 

 

<ClientSettings>

 

 

<ClientEvents OnRowSelected="RowSelectedOU" />

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="1" ScrollHeight="275px">

 

 

</Scrolling>

 

 

<Selecting AllowRowSelect="true" />

 

 

<Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" AllowRowResize="false" EnableRealTimeResize="false" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

Regards,
Srikanth

 

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 08 Oct 2009, 12:03 PM
Hello Srikanth,

I am sending you a simple working project that demonstrates the desired functionality. Please give it a try and let me know if it works for you or if I am leaving something out..

I hope this helps.

Greetings,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
srikanth ray
Top achievements
Rank 1
answered on 08 Oct 2009, 02:39 PM

Hi,

 

   Thanks for sending me the code snippet. Its also working the same.

 

   Actually we are using .Net 2.0. I  ran your project but got the same result. i customized the config file according for .Net2.0 and ran   the solution. Please find the attached file to have a clear view.

Freezing works fine when any column is not resized. but when any column is resized, the freezed column size increases drastically and we are unable to scroll to the last column. plz have a look at the attached file output.

Thanks for taking time.

Regards,
Srikanth

0
Pavlina
Telerik team
answered on 09 Oct 2009, 01:28 PM
Hello Srikanth,

Unfortunately there are specifics with the frozen columns feature of RadGrid for ASP.NET AJAX in some scenarios which may cause the side effect you are describing in this thread. They are due to the particular rendering of the grid in this mode and the combination of separate divs, scrolling synchronization and column width settings. We will do our best to improve the frozen columns behavior in those cases as much as possible for the next versions of the product.

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
srikanth ray
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
srikanth ray
Top achievements
Rank 1
Share this question
or