Commit aad438b5 authored by legoc's avatar legoc
Browse files

Added addIndex for trajectory grid

parent 7ac58531
......@@ -265,7 +265,7 @@ class TrajectoryPanelView {
// Create a new row.
let newRow = { id: traj.id, name: traj.name, type: traj.type, visible: visible };
this._trajectoryGrid.api.updateRowData({ add: [newRow] });
this._trajectoryGrid.api.updateRowData({ add: [newRow], addIndex: 0 });
// Select the created line if selected is true.
if (selected) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment