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

Ordering of items in TLV

2 Answers 32 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Olga
Top achievements
Rank 1
Olga asked on 06 Jul 2011, 10:13 PM
Hello,
Does the TLV have something that has the order in which items appear? I want the user to be able to drag and drop items in a certain order, save that order to my DB and after the user closes and reopens the TLV, items are reloaded into the TLV in the same order. Is there some kind of numbered hierarchy in the tree that I can save to the DB?

Example:
Item
    SubItem1
    SubItem2

A user reorders the subitems and they start to appear like this:
Item
      SubItem2
      SubItem1


How can I memorize this ordering?



Thanks!
Olga

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Jul 2011, 08:10 AM
Hi Olga,

 Have you checked this demo

Best wishes,
Vlad
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Olga
Top achievements
Rank 1
answered on 08 Jul 2011, 11:01 PM
I don't think this one saves the order of the items anywhere. I want to be able to close the app, reopen it and have the items in the correct order.
Tags
TreeListView
Asked by
Olga
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Olga
Top achievements
Rank 1
Share this question
or