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

[Solved] Frozen columns bug – it distorts grid

28 Answers 235 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
amit
Top achievements
Rank 1
amit asked on 01 Oct 2010, 05:43 PM
I am facing bug with frozen columns. When I use tab key to navigate the grid that has frozen columns, it distorts the cells after frozen columns eventually. You can also see the issue in frozen columns demo.

To create issue: Open frozen columns demo (Controls > Data > GridView > Columns > Frozen Columns example). Increase widths of Phone and Fax columns by 100%. Click on first cell. Now, keep pressing TAB key to navigate forward in the grid. When first row ends, focus goes to first cell of 2nd row. When 2nd row ends, focus goes to first cell of 3rd row, and so on... When focus comes to first cell after frozen column of next row, the cell after frozen column in previous row is distorted.

Let me know if you cannot generate the issue. I also have attached the error screenshot.

Can you please help resolving the issue? When should I expect the bug resolved? Is there any workaround of the issue?

Thank you,
Amit

28 Answers, 1 is accepted

Sort by
0
amit
Top achievements
Rank 1
answered on 01 Oct 2010, 05:46 PM
Screenshot is attached/
0
Pavel Pavlov
Telerik team
answered on 06 Oct 2010, 01:05 PM
Hello amit,

Please excuse us for the inconvenience caused. This is a bug in RadGridView and we are doing our best to provide a fix for the very next release.

Meanwhile no descent workaround can be offered.

Thank you for reporting the problem ! I am updating your telerik points.

Regards,
Pavel Pavlov
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
0
Nathaniel
Top achievements
Rank 1
answered on 12 Apr 2011, 08:33 PM
Text in any of my frozen columns doesn't wrap properly since I updated from the Q3 2010 release to the Q1 2011 release.  Is there a work around?
0
Vlad
Telerik team
answered on 13 Apr 2011, 07:13 AM
Hi,

 Have you tried our latest build to see of anything changes? 

Kind regards,
Vlad
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
0
Nathaniel
Top achievements
Rank 1
answered on 13 Apr 2011, 12:28 PM
Yes I have version

Q1 2011 (version 2011.1.0315)



When I revert back to

Q3 2010 SP1 (version 2010.3.1314)


text wrapping works in the frozen colunms.  
0
Vlad
Telerik team
answered on 13 Apr 2011, 12:31 PM
Hi,

 I'm referring to our latest build (2011.1.411.1040) - 2011.1.0315 is our official Q1 2011. 

All the best,
Vlad
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
0
Nathaniel
Top achievements
Rank 1
answered on 13 Apr 2011, 12:44 PM
Where would  I download  (2011.1.411.1040)?

I was loking at this site http://www.telerik.com/products/silverlight/whats-new/release-history/q3-2010-sp1-version-2010-3-1314.aspx
for the list of releases.
0
Hristo
Telerik team
answered on 13 Apr 2011, 02:21 PM
Hi Nathaniel,

Please, follow this link to find our latest internal build with version 2011.1.0411.

Regards,
Hristo
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
0
Nathaniel
Top achievements
Rank 1
answered on 21 Apr 2011, 09:21 PM
I tried it with 2011.1.419.1040 and its still broken.  This is a big problem for me now.  Any solutions coming soon, or a work around.  I cant release my product with this glaring flaw.
0
Vanya Pavlova
Telerik team
answered on 22 Apr 2011, 10:31 AM
Hi Nathaniel,

 
Indeed the fix for this issue was not included in our latest official release. I have just checked the status of this bug and you may download our internal build next week where such behavior cannot be observed.
  

Please excuse us for any inconvenience caused.


Best wishes,
Vanya Pavlova
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
0
Nathaniel
Top achievements
Rank 1
answered on 22 Apr 2011, 12:17 PM
What day next week?  And what particular .dll from this internal build should I use to see this corrected behavior?
0
Vanya Pavlova
Telerik team
answered on 22 Apr 2011, 12:31 PM
Hello Nathaniel,

 

Thank you for getting back to us! I hope that our latest internal build will be available for download on Tuesday. You need to add references to the assemblies related to RadGridView, as follows:


Telerik.Windows.Controls
Telerik.Windows.Data
Telerik.Windows.Controls.Input
 
Telerik.Windows.Controls.GridView


If you need any further assistance do not hesitate to contact us!


Greetings,
Vanya Pavlova
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
0
Nathaniel
Top achievements
Rank 1
answered on 02 May 2011, 07:03 PM
I donwload your latest internal build today 05/02/11.  This build does not fix my problem where text in any of my frozen columns doesn't wrap properly.
0
Yordanka
Telerik team
answered on 03 May 2011, 12:21 PM
Hi Nathaniel,

Could you give us more details about the problem you are experiencing? Could you attach a screenshot and specify the steps how to reproduce it?
 
Kind regards,
Yordanka
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
0
Nathaniel
Top achievements
Rank 1
answered on 03 May 2011, 12:42 PM
I have a frozen column that is width 200, and TexWrapping="Wrap".   I have 30 columns to the right of this frozen colunm where none of the text wraps. I have to scroll to the right to sell all the columns.  When the text is wrapped in my frozen colunm it appears fine when the scroll bar is all the way to the left.  But when I scroll to the right, the frozen column shrinks and the text is still wrapped but it overlaps and is unreadable.

0
Yordanka
Telerik team
answered on 04 May 2011, 02:22 PM
Hi Nathaniel,

This behavior is expected if the wrapped cell is in edit mode. If you want the text to be wrapped in this case you can subscribe for PreparingCellForEdit event and set TextWrapping to Wrap:

private void playersGrid_PreparingCellForEdit(object sender, GridViewPreparingCellForEditEventArgs e)
        {
            ((TextBox)e.EditingElement).TextWrapping = TextWrapping.Wrap;
        }

Another possible solution is to use CellEditTemplate for the wrapped column as demonstrated in the attached project.

Let us know if your case is different. 
 
Regards,
Yordanka
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
0
Nathaniel
Top achievements
Rank 1
answered on 04 May 2011, 03:43 PM
The cell is not in edit mode.
0
Yordanka
Telerik team
answered on 05 May 2011, 08:11 AM
Hi Nathaniel,

Could you send us a sample project which reproduces this problem? Or could you try to modify the one attached in my previous post? We have tried to reproduce it locally but to no avail.
 
Kind regards,
Yordanka
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
0
Nathaniel
Top achievements
Rank 1
answered on 05 May 2011, 01:03 PM
Ok the difference seems to be , EnableColumnVirtualization="False".  Change that and you will notice the behavior I have been seeing.





 

 

 

<telerik:RadGridView Name="playersGrid"

 

 

 

 

ItemsSource="{Binding Players}"

 

 

 

 

AutoGenerateColumns="False"

 

 

 

FrozenColumnCount="1"

 

 

 

EnableColumnVirtualization="False"/>

 

 

 

 

</Grid>

 

0
Yordanka
Telerik team
answered on 05 May 2011, 03:55 PM
Hi Nathaniel,

I have tried with no column virtualization and again, I cannot reproduce the wrong behavior. Please, refer to this video.
 
Best wishes,
Yordanka
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
0
Nathaniel
Top achievements
Rank 1
answered on 05 May 2011, 05:54 PM
And your using the 2011.1.419.1020 version, or the May 2nd internal release?
0
Yordanka
Telerik team
answered on 06 May 2011, 05:36 AM
Hi Nathaniel,

I have tested with latest internal build - version .0502. Please, check the attached project. Indeed, the problem can be reproduced with .0419 version when the column virtualization is off.
 
All the best,
Yordanka
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
0
Nathaniel
Top achievements
Rank 1
answered on 09 May 2011, 12:41 PM
How do I get around these problem when I download your examples?  The microsoft link does not help.

Error 1 Could not load the assembly file:///C:\Documents and Settings\XXXX\My Documents\XXXX\XXX\XXX\RadGridView_SL4_AR_26\Libs\Telerik.Windows.Controls.dll. This assembly may have been downloaded from the Web.  If an assembly has been downloaded from the Web, it is flagged by Windows as being a Web file, even if it resides on the local computer. This may prevent it from being used in your project. You can change this designation by changing the file properties. Only unblock assemblies that you trust. See http://go.microsoft.com/fwlink/?LinkId=179545 for more information. RadGridView_SL4_AR_26


Also will there be another Service pack with this fix that was in the May 2nd build? 
0
Yordanka
Telerik team
answered on 09 May 2011, 01:41 PM
Hi Nathaniel,

Please, make sure that all of the referred assemblies in the project are not blocked. How to unblock assemblies is described on this topic. Also, you may remove all referenced Telerik's assemblies from the project and add them again. 

For the time being we have not planned for Q1 2011 SP2 and the next official release will be till the end of July.
 
Best wishes,
Yordanka
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
0
Michael MSTG
Top achievements
Rank 1
answered on 16 May 2011, 08:20 PM
Yordanka,

I too am having this same problem.  I think I figured out the pattern however and it has to do with whether the column with the wrapping is a frozen column or not.

If you remove the frozen column count the grid resizes the rows with the wrapping text without a problem.  If you put the frozen column count to include columns without text wrapping, it works fine.  Now if you put the frozen column count (or even adjust the frozen column line) to include column that has wrapping enabled and the text does in fact wrap, the grid distorts and the rows do not resize to show all the text; in fact if you move the line yourself the rows resize to only show one line of text.
0
Yordanka
Telerik team
answered on 17 May 2011, 07:24 AM
Hi Michael MSTG,

Please, try the latest internal build (version .0516) and let us know in case the problem still occurs.
 
All the best,
Yordanka
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
0
Michael MSTG
Top achievements
Rank 1
answered on 18 May 2011, 10:15 PM
Yordanka,

This build does in fact fix the issue.
0
Siljith
Top achievements
Rank 1
answered on 05 Jul 2011, 09:30 AM
Hi,

I am facing similer kind of oroblem. FrozenColumnsCount is working when i am scrolling horizondally. But  not working working when I use tab key. can you tell why this happens.
Tags
GridView
Asked by
amit
Top achievements
Rank 1
Answers by
amit
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Nathaniel
Top achievements
Rank 1
Vlad
Telerik team
Hristo
Telerik team
Vanya Pavlova
Telerik team
Yordanka
Telerik team
Michael MSTG
Top achievements
Rank 1
Siljith
Top achievements
Rank 1
Share this question
or