I have a standard treeview and I want the nodes to be sorted alphabetically. The treeview is built dynamically from a database. In some instances, I would like for a particular node's child nodes to not be sorted alphabetically. In other words, for a particular branch to be listed in the order it was built.Is there any way to do this, or is the sorting only possible on the whole tree? I can, of course, turn sorting off, and presort my data according to my needs and then populate the tree. However, I really like the sort property in instances where I need to insert a node in response to a client-side action.
My scenario is as follows. I have a tree of "Folders". Some folders have child nodes that represent "Person Names". These can be sorted by node text and everything is fine. However, some other folders have sub nodes which represent time-stamped objects, and I would like these to be sorted by the timestamp (according to the order retrieved from the database), rather than alphabetically by the node text.
My scenario is as follows. I have a tree of "Folders". Some folders have child nodes that represent "Person Names". These can be sorted by node text and everything is fine. However, some other folders have sub nodes which represent time-stamped objects, and I would like these to be sorted by the timestamp (according to the order retrieved from the database), rather than alphabetically by the node text.