Dear developers.
I have a tree displayed.

I want to display the tree items in the same order in the Timeline, while I use the following code, but I have shuffled Lanes in an order unknown to me.

In previous versions, this was not the case. The order was maintained.
SmartClient Ajax RIA system
Version v12.1p_2021-05-19/Pro Deployment (2021-05-19)
I have a tree displayed.
I want to display the tree items in the same order in the Timeline, while I use the following code, but I have shuffled Lanes in an order unknown to me.
Code:
ListGrid tasksLineProps = new ListGrid();
tasksLineProps.setCanSort(false);
tasksLine = new Timeline();
tasksLine.setAutoChildProperties("timelineView", tasksLineProps);
......
......
TreeNode courseItemNode = projectTree.findById(courseItem.getAttribute(CONSTANT._ID));
firstLevel = projectTree.getLevel(courseItemNode);
Record[] lanes = projectTree.getAllNodes(courseItemNode);
tasksLanes = EvolutionDataSource.castRecordsToLanes(lanes);
tasksLine.setLanes(tasksLanes);
In previous versions, this was not the case. The order was maintained.
SmartClient Ajax RIA system
Version v12.1p_2021-05-19/Pro Deployment (2021-05-19)
Comment