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

Tree shake

5 Answers 115 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Lior Aloni
Top achievements
Rank 1
Lior Aloni asked on 07 Feb 2010, 11:01 AM

Hi

There is a problem in the RadTreeView.

When you rename a node, and the name is longer then the tree’s container width, the tree shakes.

Please try renamning a node with a long name with many ‘a’.

Then rename again the same way, move to a node that has children and the tree will start shaking.

 

Thanks

 

 

Lior Aloni

5 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 10 Feb 2010, 01:06 PM
Hi Lior,

Thank you for contacting us.

Please excuse me if I do not understand you. What kind of shaking you are observing and what kind of action is causing it? We found two features that are a bit related to the described scenario - actually the whole tree is moving left-right when:
  • Focusing items wider the tree itself. This is because we are trying to show maximum of the currently focused item.
  • In edit mode the caret is going out the border of the tree. In fact there are two ways to realize the edit mode:
    • Initializing the editor to be wide enough to embed its content without scrolling (our implementation). In this case the tree should scroll in order to show the caret.
    • The maximum width of the editor should not exceed the width of the tree. In this case the text should scroll inside the editor.

If we misunderstood the context of your post please drop us a line
 

Regards,
Ivan
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Lior Aloni
Top achievements
Rank 1
answered on 10 Feb 2010, 01:13 PM

Hi

Thank you for the reply.

The first scenario you presented is the case. The whole tree moves right left without stopping when the item is wider than the tree itself. How can I disable this feature?

Regards

Lior

0
Ivan
Telerik team
answered on 15 Feb 2010, 08:05 AM
Hello Lior Aloni,

It looks strange the "tree moves without stopping". We prepared and attached here a sample app to test it at your side. Could you please test its behavior? If you have your example that reproduces the case could you send it to us for further investigation.

Looking forward for your reply.


Best wishes,
Ivan
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
Lior Aloni
Top achievements
Rank 1
answered on 16 Feb 2010, 04:40 PM

<Window x:Class="WpfApplication1.Window1"

        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

        xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"

        xmlns:loc="clr-namespace:WpfApplication1"

        xmlns:Telerik="http://schemas.telerik.com/2008/xaml/presentation"

        Title="Window1" Height="300" Width="300">

    <Grid>

       

       

        <Telerik:RadTreeView IsEditable="True">

                <Telerik:RadTreeViewItem>a</Telerik:RadTreeViewItem>

                <Telerik:RadTreeViewItem>b</Telerik:RadTreeViewItem>

                <Telerik:RadTreeViewItem>c</Telerik:RadTreeViewItem>

                <Telerik:RadTreeViewItem>d</Telerik:RadTreeViewItem>

        </Telerik:RadTreeView>

       

    </Grid>

</Window>

 

 

Reproduction steps:

1)  Expand all nodes (so now you have 8 rows)

2)  Stand on row 2 (‘a’)

3)  Press F2

4)  Type ‘aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa’

5)  Press Enter

6)  Do steps 2-4 again

7)  Stand on row 3

8)  Stree starts shaking

 

Even in the sample you attached I managed to reprodue it

0
Kiril Stanoev
Telerik team
answered on 17 Feb 2010, 02:31 PM
Hi Lior,

I followed your instructions and I was not able to reproduce it. Could you please have a look at the attached video file as it shows my steps trying to reproduce the issue. Let me know if I am doing anything wrong.

Best wishes,
Kiril Stanoev
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.
Tags
TreeView
Asked by
Lior Aloni
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Lior Aloni
Top achievements
Rank 1
Kiril Stanoev
Telerik team
Share this question
or