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

Can someone explain "getSelectedElement" and "getParentElement"?

1 Answer 26 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Vincent asked on 27 Jun 2010, 12:23 PM
From the help, these two functions are same.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 30 Jun 2010, 11:00 AM
Hello Vincent,

Yes, the getSelectedElement() function returns as a value the result of the getSelection().getParentElement() function, e.g.

getSelectedElement: function()
    {
        return this.getSelection().getParentElement();
    },

That is why you can use directly the getSelectedElement() function in your code.

Greetings,
Rumen
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
Editor
Asked by
Vincent
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or