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

Horizontal scroll on row selection

2 Answers 76 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Phil
Top achievements
Rank 1
Phil asked on 14 Mar 2011, 07:00 PM
Howdy,

I have a TreeListView setup, with 4 frozen columns, then a final column with the width set to "Auto" which contains the hierarchy, and also some very long cell names (content).

The issue i'm having is that when a row is selected via mouse click in the 5th (wide, autosized, non frozen) column it appears that the treelistview control will scroll horizontally to the "center" of the widest item currently in the hierarchy. Which, if I've selected a node with a short 5th column, means the name scrolls entirely out of view.

Is there any way to disable or work around this behavior? I'd rather have no horizontal scrolling at all, this appers to be an artifact of "scroll into view" logic.

Cheers
Phil

2 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 18 Mar 2011, 10:45 AM
Hello Phil,

 We are able to reproduce this issue from our side. However, we are unable to provide workaround for this issue. I have logged this in our PITS system (http://www.telerik.com/support/pits.aspx#/public/silverlight/5157) and updated your points accordingly. We will work on solution in our future releases.

Please, excuse us for the inconvenience.

Best wishes,
Tsvyatko
the Telerik team
0
Phil
Top achievements
Rank 1
answered on 18 Mar 2011, 08:09 PM
That is a shame. Would it not even be possible to "capture" clicks in the auto sized column, and route them to the first (frozen) column? This would achieve the desiered effect for me. Or even making them non clickable - and setting selection manually?

Cheers
Phil
Tags
TreeListView
Asked by
Phil
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Phil
Top achievements
Rank 1
Share this question
or